We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df966b0 + 47007cf commit 0254cd3Copy full SHA for 0254cd3
reference/constraints/All.rst
@@ -82,7 +82,7 @@ entry in that array:
82
$metadata->addPropertyConstraint('favoriteColors', new Assert\All(array(
83
'constraints' => array(
84
new Assert\NotBlank(),
85
- new Assert\Length(array('limit' => 5)),
+ new Assert\Length(array('min' => 5)),
86
),
87
)));
88
}
0 commit comments