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::
856856 // If you're using the new 2.5 validation API (you probably are!)
857857 $errors = $validator->validate($author, null, array('registration'));
858858
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
860860 // $errors = $validator->validate($author, array('registration'));
861861
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 ``
863863will be applied.
864864
865865Of course, you'll usually work with validation indirectly through the form
You can’t perform that action at this time.
0 commit comments