Total Complexity | 6 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 88.89% |
Changes | 0 |
1 | <?php |
||
7 | final class SituationsProxy |
||
8 | { |
||
9 | public static $situations = []; |
||
10 | |||
11 | 106 | public static function call($method, $args) |
|
19 | } |
||
20 | } |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param string $method |
||
25 | * @param string $className |
||
26 | * |
||
27 | * @return bool |
||
28 | */ |
||
29 | 106 | private static function methodExists(string $method, string $className): bool |
|
34 |
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.