Conditions | 3 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 3.576 |
Changes | 0 |
1 | <?php |
||
19 | public function __call($method, $args) |
||
20 | 105 | { |
|
21 | resolve('heyman.chain')->startChain(); |
||
|
|||
22 | 105 | ||
23 | if (config()->get('app.debug') and !app()->environment('production')) { |
||
24 | $info = array_only(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2)[1], ['file', 'line', 'args']); |
||
25 | resolve('heyman.chain')->set('debugInfo', $info); |
||
26 | } |
||
27 | 105 | ||
28 | return SituationsProxy::call($method, $args); |
||
29 | } |
||
46 |
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.