[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,
|
$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
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user