Permalink
Browse files

addViolationAtSubPath replaced by addViolationAt in symfony 2.3

  • Loading branch information...
1 parent f265228 commit 532cfd415a8cf142661246145d5d93b2b41d45db @cedriclombardot cedriclombardot committed Jun 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Validator/Constraints/UniqueObjectValidator.php
@@ -61,7 +61,7 @@ public function validate($object, Constraint $constraint)
);
}
- $this->context->addViolationAtSubPath(
+ $this->context->addViolationAt(
$constraint->errorPath,
$constraint->message,
array(

0 comments on commit 532cfd4

Please sign in to comment.