Skip to content

Commit b0253e5

Browse files
authored
Replace deprecated validateValue with validate
1 parent 5d6473b commit b0253e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Context/ExecutionContextInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function buildViolation($message, array $parameters = array());
8888
* {
8989
* $validator = $this->context->getValidator();
9090
*
91-
* $violations = $validator->validateValue($value, new Length(array('min' => 3)));
91+
* $violations = $validator->validate($value, new Length(array('min' => 3)));
9292
*
9393
* if (count($violations) > 0) {
9494
* // ...

0 commit comments

Comments
 (0)