[Validator] do not call getter inside ExecutionContext to prevent unnecessary calls

This commit is contained in:
Tobias Schultze 2014-07-24 16:44:45 +02:00
parent 2f7b702e3b
commit d6d462a8a7

View File

@ -184,8 +184,8 @@ class ExecutionContext implements ExecutionContextInterface
$message, $message,
$parameters, $parameters,
$this->root, $this->root,
$this->getPropertyPath(), $this->propertyPath,
$this->getValue(), $this->value,
null, null,
null null
)); ));
@ -201,8 +201,8 @@ class ExecutionContext implements ExecutionContextInterface
$message, $message,
$parameters, $parameters,
$this->root, $this->root,
$this->getPropertyPath(), $this->propertyPath,
$this->getValue(), $this->value,
$this->translator, $this->translator,
$this->translationDomain $this->translationDomain
); );