diff --git a/reference/constraints/All.rst b/reference/constraints/All.rst index 17f2e2dadcd..d270fa0d4d6 100644 --- a/reference/constraints/All.rst +++ b/reference/constraints/All.rst @@ -82,7 +82,7 @@ entry in that array: $metadata->addPropertyConstraint('favoriteColors', new Assert\All(array( 'constraints' => array( new Assert\NotBlank(), - new Assert\Length(array('limit' => 5)), + new Assert\Length(array('min' => 5)), ), ))); }