From b0253e58ea136aeab6fabb13de63aef4ea1af8e1 Mon Sep 17 00:00:00 2001 From: Valentin Udaltsov Date: Fri, 5 Oct 2018 17:13:57 +0300 Subject: [PATCH] Replace deprecated validateValue with validate --- .../Component/Validator/Context/ExecutionContextInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php index d38d33747a..548a4db1c1 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php @@ -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) { * // ...