From 47007cf465f5ec69b181cf2a1dd5ae3d77b0a822 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Sun, 21 Apr 2013 15:07:47 +0400 Subject: [PATCH] [reference] [validator] fixed wrong option name in the All constraint reference documentation. --- reference/constraints/All.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)), ), ))); }