|
@@ -33,7 +33,7 @@ class InlineValidator extends ConstraintValidator
|
|
/**
|
|
/**
|
|
* {@inheritDoc}
|
|
* {@inheritDoc}
|
|
*/
|
|
*/
|
|
- public function isValid($value, Constraint $constraint)
|
|
|
|
|
|
+ public function validate($value, Constraint $constraint)
|
|
{
|
|
{
|
|
$errorElement = new ErrorElement(
|
|
$errorElement = new ErrorElement(
|
|
$value,
|
|
$value,
|
|
@@ -55,7 +55,5 @@ class InlineValidator extends ConstraintValidator
|
|
}
|
|
}
|
|
|
|
|
|
call_user_func($function, $errorElement, $value);
|
|
call_user_func($function, $errorElement, $value);
|
|
-
|
|
|
|
- return true;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|