| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 9 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 15 | class Upload extends Rules implements RuleInterface |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @psalm-suppress PossiblyNullReference |
||
| 20 | * @param Ruleable&Element $element |
||
| 21 | * @return bool |
||
| 22 | * @throws ExceptionRule |
||
| 23 | */ |
||
| 24 | 2 | public function validate(Ruleable $element): bool |
|
| 33 | } |
||
| 34 | |||
| 35 | 16 | private function check(UploadedFileInterface|false $value, Ruleable $element): bool |
|
| 52 |
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.