Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
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->context( |
||
47 | 'component', |
||
48 | $routeAction[0] ?? null |
||
49 | ); |
||
50 | |||
51 | $this->honeybadger->context( |
||
52 | 'action', |
||
53 | $routeAction[1] ?? null |
||
54 | ); |
||
55 | } |
||
56 | } |
||
57 | |||
68 |
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.