We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ResolveErrors |
||
10 | { |
||
11 | private $validationErrors; |
||
12 | |||
13 | /** |
||
14 | * @internal |
||
15 | */ |
||
16 | 2 | public function setValidationErrors(ConstraintViolationListInterface $errors): void |
|
17 | { |
||
18 | 2 | $this->validationErrors = $errors; |
|
19 | 2 | } |
|
20 | |||
21 | /** |
||
22 | * Returns a collection of validation violations or null. |
||
23 | * |
||
24 | * @return ConstraintViolationListInterface|null |
||
25 | */ |
||
26 | 2 | public function getValidationErrors(): ?ConstraintViolationListInterface |
|
29 | } |
||
30 | } |
||
31 |