Conditions | 1 |
Paths | 1 |
Total Lines | 3 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | protected function supports(string $file): bool |
||
35 | { |
||
36 | $this->__call(__METHOD__, func_get_args()); |
||
1 ignored issue
–
show
|
|||
37 | } |
||
39 |
For hinted functions/methods where all return statements with the correct type are only reachable via conditions, ?null? gets implicitly returned which may be incompatible with the hinted type. Let?s take a look at an example: