Skip to content

Commit cab613e

Browse files
hvtxabbuh
authored andcommitted
validateValue() is deprecated in 3.0
1 parent c943d89 commit cab613e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/raw_values.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
7272
'password' => new Assert\Length(array('min' => 60)),
7373
));
7474

75-
$violations = $validator->validateValue($input, $constraint);
75+
$violations = $validator->validate($input, $constraint);
7676

7777
The ``validate()`` method returns a :class:`Symfony\\Component\\Validator\\ConstraintViolationList`
7878
object, which acts just like an array of errors. Each error in the collection

0 commit comments

Comments
 (0)