diff --git a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php index 4fa97716e8d9c..b78b39b42cf83 100644 --- a/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php +++ b/src/Symfony/Component/Validator/Context/ExecutionContextInterface.php @@ -123,20 +123,26 @@ public function getObject(): ?object; * * @param object|null $object The currently validated object * @param string $propertyPath The property path to the current value + * + * @return void */ - public function setNode(mixed $value, ?object $object, MetadataInterface $metadata = null, string $propertyPath): void; + public function setNode(mixed $value, ?object $object, MetadataInterface $metadata = null, string $propertyPath); /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string|null $group The validated group + * + * @return void */ - public function setGroup(?string $group): void; + public function setGroup(?string $group); /** * Warning: Should not be called by user code, to be used by the validator engine only. + * + * @return void */ - public function setConstraint(Constraint $constraint): void; + public function setConstraint(Constraint $constraint); /** * Warning: Should not be called by user code, to be used by the validator engine only. @@ -144,8 +150,10 @@ public function setConstraint(Constraint $constraint): void; * @param string $cacheKey The hash of the object * @param string $groupHash The group's name or hash, if it is group * sequence + * + * @return void */ - public function markGroupAsValidated(string $cacheKey, string $groupHash): void; + public function markGroupAsValidated(string $cacheKey, string $groupHash); /** * Warning: Should not be called by user code, to be used by the validator engine only. @@ -153,7 +161,6 @@ public function markGroupAsValidated(string $cacheKey, string $groupHash): void; * @param string $cacheKey The hash of the object * @param string $groupHash The group's name or hash, if it is group * sequence - * */ public function isGroupValidated(string $cacheKey, string $groupHash): bool; @@ -162,15 +169,16 @@ public function isGroupValidated(string $cacheKey, string $groupHash): bool; * * @param string $cacheKey The hash of the object * @param string $constraintHash The hash of the constraint + * + * @return void */ - public function markConstraintAsValidated(string $cacheKey, string $constraintHash): void; + public function markConstraintAsValidated(string $cacheKey, string $constraintHash); /** * Warning: Should not be called by user code, to be used by the validator engine only. * * @param string $cacheKey The hash of the object * @param string $constraintHash The hash of the constraint - * */ public function isConstraintValidated(string $cacheKey, string $constraintHash): bool; @@ -188,7 +196,6 @@ public function markObjectAsInitialized(string $cacheKey): void; * * @param string $cacheKey The hash of the object * - * * @see ObjectInitializerInterface */ public function isObjectInitialized(string $cacheKey): bool;