Skip to content
Snippets Groups Projects
Unverified Commit 70d64417 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Revert "Issue #3231688 by daffie: [Symfony 6] Add type hints to...

Revert "Issue #3231688 by daffie: [Symfony 6] Add type hints to Drupal\Core\TypedData\Validation\ExecutionContext::getViolations(), ::getValidator(), ::getRoot() and ::getValue()"

This reverts commit 1b900151.
parent 15c98f6c
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@
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;
......@@ -178,28 +177,28 @@ public function buildViolation($message, array $parameters = []): ConstraintViol
/**
* {@inheritdoc}
*/
public function getViolations(): ConstraintViolationListInterface {
public function getViolations() {
return $this->violations;
}
/**
* {@inheritdoc}
*/
public function getValidator(): ValidatorInterface {
public function getValidator() {
return $this->validator;
}
/**
* {@inheritdoc}
*/
public function getRoot(): mixed {
public function getRoot() {
return $this->root;
}
/**
* {@inheritdoc}
*/
public function getValue(): mixed {
public function getValue() {
return $this->value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment