| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | final class EventSituations |
||
| 6 | { |
||
| 7 | 35 | public function hasMethod() |
|
| 9 | |||
| 10 | 35 | } |
|
| 11 | /** |
||
| 12 | * @param mixed ...$event |
||
| 13 | */ |
||
| 14 | 11 | public function whenEventHappens(...$event) |
|
| 15 | { |
||
| 16 | 11 | resolve('heyman.chains')->init(EventManager::class, $event); |
|
|
|
|||
| 17 | 11 | } |
|
| 18 | |||
| 19 | 1 | public function whenYouReachCheckPoint($name) |
|
| 22 | 1 | } |
|
| 23 | } |
||
| 24 |
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.