Total Complexity | 5 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class LsfInput extends Input |
||
9 | { |
||
10 | // Interface this.... |
||
11 | |||
12 | protected string $type = 'input'; |
||
13 | |||
14 | /** |
||
15 | * All the Validation rules for this Input |
||
16 | * |
||
17 | * @return mixed |
||
18 | */ |
||
19 | public function errorMessages(): mixed |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Returns the Input’s response after the form has been submitted and validated |
||
41 | * |
||
42 | * @param $input |
||
43 | * @return array |
||
44 | */ |
||
45 | public function response($input): array |
||
54 | } |
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.