File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ stores an ``Address`` instance in the ``$address`` property::
155155 {
156156 $metadata->addPropertyConstraint('street', new Assert\NotBlank());
157157 $metadata->addPropertyConstraint('zipCode', new Assert\NotBlank());
158- $metadata->addPropertyConstraint('zipCode', new Assert\Length([" max" => 5]));
158+ $metadata->addPropertyConstraint('zipCode', new Assert\Length([' max' => 5]));
159159 }
160160 }
161161
@@ -170,7 +170,7 @@ stores an ``Address`` instance in the ``$address`` property::
170170 public static function loadValidatorMetadata(ClassMetadata $metadata)
171171 {
172172 $metadata->addPropertyConstraint('firstName', new Assert\NotBlank());
173- $metadata->addPropertyConstraint('firstName', new Assert\Length([" min" => 4]));
173+ $metadata->addPropertyConstraint('firstName', new Assert\Length([' min' => 4]));
174174 $metadata->addPropertyConstraint('lastName', new Assert\NotBlank());
175175 }
176176 }
You can’t perform that action at this time.
0 commit comments