Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | class ValidationException extends BaseValidationException |
||
20 | { |
||
21 | /** |
||
22 | * Code d'erreur |
||
23 | * |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $code = StatusCode::UNPROCESSABLE_ENTITY; |
||
27 | |||
28 | /** |
||
29 | * {@inheritDoc} |
||
30 | */ |
||
31 | public function setErrors(?RakitErrorBag $errors): self |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritDoc} |
||
40 | */ |
||
41 | public function getErrors(): ?ErrorBag |
||
50 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.