diff --git a/src/Symfony/Component/Validator/Context/ExecutionContext.php b/src/Symfony/Component/Validator/Context/ExecutionContext.php index 542ea336585f1..b8cd99927c62e 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContext.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContext.php @@ -184,8 +184,8 @@ public function addViolation($message, array $parameters = array(), $invalidValu $message, $parameters, $this->root, - $this->getPropertyPath(), - $this->getValue(), + $this->propertyPath, + $this->value, null, null )); @@ -201,8 +201,8 @@ public function buildViolation($message, array $parameters = array()) $message, $parameters, $this->root, - $this->getPropertyPath(), - $this->getValue(), + $this->propertyPath, + $this->value, $this->translator, $this->translationDomain );