Replace deprecated validateValue with validate
This commit is contained in:
parent
5d6473bd94
commit
b0253e58ea
@ -88,7 +88,7 @@ interface ExecutionContextInterface extends LegacyExecutionContextInterface
|
||||
* {
|
||||
* $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) {
|
||||
* // ...
|
||||
|
Reference in New Issue
Block a user