Skip to content

Commit 17ee3fd

Browse files
committed
minor #8268 Validator::validateValue() is removed in 3.0 (hvt)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #8268). Discussion ---------- Validator::validateValue() is removed in 3.0 Commits ------- cab613e validateValue() is deprecated in 3.0
2 parents c943d89 + cab613e commit 17ee3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation/raw_values.rst

+1-1
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)