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 @@ -856,10 +856,10 @@ as the third argument to the ``validate()`` method::
856
856
// If you're using the new 2.5 validation API (you probably are!)
857
857
$errors = $validator->validate($author, null, array('registration'));
858
858
859
- // If you're using the old 2.4 validation API
859
+ // If you're using the old 2.4 validation API, pass the group names as the second argument
860
860
// $errors = $validator->validate($author, array('registration'));
861
861
862
- If no groups are specified, all constraints that belong in group ``Default ``
862
+ If no groups are specified, all constraints that belong to the group ``Default ``
863
863
will be applied.
864
864
865
865
Of course, you'll usually work with validation indirectly through the form
You can’t perform that action at this time.
0 commit comments