Passed
Push — master ( 3bbc65...908bc3 )
by Marcio
28:45 queued 24:50
created
src/Ballybran/Routing/Router/RouterCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -114,13 +114,13 @@
 block discarded – undo
114 114
                 }
115 115
                 $controller = $this->resolveClass($middleware[0], $info['path'], $info['namespace']);
116 116
                 if (method_exists($controller, 'handle')) {
117
-                     $response =  call_user_func_array([$controller, 'handle'], $params);
118
-                     if($response != false) {
119
-                         echo $response;
120
-                         exit;
121
-                     } else {
122
-                         return $response;
123
-                     }
117
+                        $response =  call_user_func_array([$controller, 'handle'], $params);
118
+                        if($response != false) {
119
+                            echo $response;
120
+                            exit;
121
+                        } else {
122
+                            return $response;
123
+                        }
124 124
                     }
125 125
 
126 126
                 return $this->exception('handle() method is not found in <b>' . $command . '</b> class.');
Please login to merge, or discard this patch.
src/Ballybran/Core/Http/Request.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,10 +143,10 @@
 block discarded – undo
143 143
         return $headers;
144 144
     }
145 145
 
146
-      /**
147
-     * This static method will create a new Request object, based on the
148
-     * current PHP request.
149
-     */
146
+        /**
147
+         * This static method will create a new Request object, based on the
148
+         * current PHP request.
149
+         */
150 150
     public static function getRequest(): RequestBuilder
151 151
     {
152 152
         $serverArr = $_SERVER;
Please login to merge, or discard this patch.