[Validator] do not call getter inside ExecutionContext to prevent unnecessary calls
This commit is contained in:
parent
2f7b702e3b
commit
d6d462a8a7
@ -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
|
||||
);
|
||||
|
Reference in New Issue
Block a user