[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
1 changed files with 4 additions and 4 deletions

View File

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