Completed
Push — master ( 210a64...050109 )
by Iman
05:21
created
src/Boot/DebugbarIntergrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,17 +6,17 @@
 block discarded – undo
6 6
 {
7 7
     public static function register()
8 8
     {
9
-        if (! app()->offsetExists('debugbar')) {
9
+        if (!app()->offsetExists('debugbar')) {
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) {
19
+        \Event::listen('heyman_reaction_is_happening', function(...$debug) {
20 20
             app()['heyman_reaction_is_happened_in_debug'] = $debug;
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
src/WatchingStrategies/Routes/MatchedRoute.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $matchedRoute = [
60 60
             $route->getName(),
61 61
             $route->getActionName(),
62
-            app('request')->method().$route->uri,
62
+            app('request')->method() . $route->uri,
63 63
         ];
64 64
 
65 65
         return array_filter($matchedRoute);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
     public function terminate($request, $response)
69 69
     {
70
-        if (! ($debug = app()['heyman_reaction_is_happened_in_debug'] ?? false)) {
70
+        if (!($debug = app()['heyman_reaction_is_happened_in_debug'] ?? false)) {
71 71
             return;
72 72
         }
73 73
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     private function writeForDebugbar($debug)
95 95
     {
96 96
         resolve('heyman.debugger')->addMessage('HeyMan Rule Matched in file: ');
97
-        resolve('heyman.debugger')->addMessage($debug[0].' on line: '.$debug[1]);
97
+        resolve('heyman.debugger')->addMessage($debug[0] . ' on line: ' . $debug[1]);
98 98
         resolve('heyman.debugger')->addMessage($debug[2]);
99 99
     }
100 100
 }
Please login to merge, or discard this patch.