Total Complexity | 6 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 0 |
1 | <?php |
||
8 | final class SituationsProxy |
||
9 | { |
||
10 | const situations = [ |
||
11 | RouteSituations::class, |
||
12 | EloquentSituations::class, |
||
13 | ViewSituations::class, |
||
14 | EventSituations::class, |
||
15 | ]; |
||
16 | |||
17 | public static function call($method, $args) |
||
25 | 105 | } |
|
26 | } |
||
27 | 105 | } |
|
28 | |||
29 | /** |
||
30 | * @param $method |
||
31 | * @param $className |
||
32 | * @return bool |
||
33 | */ |
||
34 | private static function methodExists($method, $className): bool |
||
39 |
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.