@@ -10,15 +10,15 @@ |
||
| 10 | 10 | return; |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | - app()->singleton('heyman.debugger', function () { |
|
| 13 | + app()->singleton('heyman.debugger', function() { |
|
| 14 | 14 | return new \DebugBar\DataCollector\MessagesCollector('HeyMan'); |
| 15 | 15 | }); |
| 16 | 16 | |
| 17 | 17 | app()->make('debugbar')->addCollector(app('heyman.debugger')); |
| 18 | 18 | |
| 19 | - \Event::listen('heyman_reaction_is_happening', function (...$debug) { |
|
| 20 | - app('heyman.debugger')->addMessage('HeyMan Rule Matched in file: '.$debug[0]); |
|
| 21 | - app('heyman.debugger')->addMessage('on line: '.$debug[1]); |
|
| 19 | + \Event::listen('heyman_reaction_is_happening', function(...$debug) { |
|
| 20 | + app('heyman.debugger')->addMessage('HeyMan Rule Matched in file: ' . $debug[0]); |
|
| 21 | + app('heyman.debugger')->addMessage('on line: ' . $debug[1]); |
|
| 22 | 22 | app('heyman.debugger')->addMessage($debug[2]); |
| 23 | 23 | }); |
| 24 | 24 | } |