Replace deprecated validateValue with validate

This commit is contained in:
Valentin Udaltsov 2018-10-05 17:13:57 +03:00 committed by GitHub
parent 5d6473bd94
commit b0253e58ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ interface ExecutionContextInterface extends LegacyExecutionContextInterface
* { * {
* $validator = $this->context->getValidator(); * $validator = $this->context->getValidator();
* *
* $violations = $validator->validateValue($value, new Length(array('min' => 3))); * $violations = $validator->validate($value, new Length(array('min' => 3)));
* *
* if (count($violations) > 0) { * if (count($violations) > 0) {
* // ... * // ...