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 @@ -157,7 +157,7 @@ stores an ``Address`` instance in the ``$address`` property::
157157 {
158158 $metadata->addPropertyConstraint('street', new Assert\NotBlank());
159159 $metadata->addPropertyConstraint('zipCode', new Assert\NotBlank());
160- $metadata->addPropertyConstraint('zipCode', new Assert\Length([" max" => 5]));
160+ $metadata->addPropertyConstraint('zipCode', new Assert\Length([' max' => 5]));
161161 }
162162 }
163163
@@ -172,7 +172,7 @@ stores an ``Address`` instance in the ``$address`` property::
172172 public static function loadValidatorMetadata(ClassMetadata $metadata)
173173 {
174174 $metadata->addPropertyConstraint('firstName', new Assert\NotBlank());
175- $metadata->addPropertyConstraint('firstName', new Assert\Length([" min" => 4]));
175+ $metadata->addPropertyConstraint('firstName', new Assert\Length([' min' => 4]));
176176 $metadata->addPropertyConstraint('lastName', new Assert\NotBlank());
177177 }
178178 }
You can’t perform that action at this time.
0 commit comments