addViolationAtSubPath replaced by addViolationAt in symfony 2.3
This commit is contained in:
parent
f265228b9e
commit
532cfd415a
|
@ -61,7 +61,7 @@ class UniqueObjectValidator extends ConstraintValidator
|
|||
);
|
||||
}
|
||||
|
||||
$this->context->addViolationAtSubPath(
|
||||
$this->context->addViolationAt(
|
||||
$constraint->errorPath,
|
||||
$constraint->message,
|
||||
array(
|
||||
|
|
Loading…
Reference in a new issue