Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | private function setRouteActionContext() |
||
42 | { |
||
43 | if (Route::getCurrentRoute()) { |
||
|
|||
44 | $routeAction = explode('@', Route::getCurrentRoute()->getActionName()); |
||
45 | |||
46 | $this->honeybadger->setComponent($routeAction[0] ?? null); |
||
47 | $this->honeybadger->setAction($routeAction[1] ?? null); |
||
48 | } |
||
49 | } |
||
50 | |||
61 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.