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