Loading core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php +5 −4 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintViolation; use Symfony\Component\Validator\ConstraintViolationList; use Symfony\Component\Validator\ConstraintViolationListInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; use Symfony\Component\Validator\Mapping\MetadataInterface; use Symfony\Component\Validator\Util\PropertyPath; Loading Loading @@ -177,28 +178,28 @@ public function buildViolation($message, array $parameters = []): ConstraintViol /** * {@inheritdoc} */ public function getViolations() { public function getViolations(): ConstraintViolationListInterface { return $this->violations; } /** * {@inheritdoc} */ public function getValidator() { public function getValidator(): ValidatorInterface { return $this->validator; } /** * {@inheritdoc} */ public function getRoot() { public function getRoot(): mixed { return $this->root; } /** * {@inheritdoc} */ public function getValue() { public function getValue(): mixed { return $this->value; } Loading Loading
core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php +5 −4 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintViolation; use Symfony\Component\Validator\ConstraintViolationList; use Symfony\Component\Validator\ConstraintViolationListInterface; use Symfony\Component\Validator\Context\ExecutionContextInterface; use Symfony\Component\Validator\Mapping\MetadataInterface; use Symfony\Component\Validator\Util\PropertyPath; Loading Loading @@ -177,28 +178,28 @@ public function buildViolation($message, array $parameters = []): ConstraintViol /** * {@inheritdoc} */ public function getViolations() { public function getViolations(): ConstraintViolationListInterface { return $this->violations; } /** * {@inheritdoc} */ public function getValidator() { public function getValidator(): ValidatorInterface { return $this->validator; } /** * {@inheritdoc} */ public function getRoot() { public function getRoot(): mixed { return $this->root; } /** * {@inheritdoc} */ public function getValue() { public function getValue(): mixed { return $this->value; } Loading