Test Failed
Push — master ( e18acf...2713a2 )
by Marcio
12:48
created
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.
src/Ballybran/Routing/Router/RouterCommand.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -115,14 +115,14 @@
 block discarded – undo
115 115
                 }
116 116
                 $controller = $this->resolveClass($middleware[0], $info['path'], $info['namespace']);
117 117
                 if (method_exists($controller, 'handle')) {
118
-                     $return =  call_user_func_array([$controller, 'handle'], $params);
119
-                     if($return != true) {
120
-                          echo $return;
121
-                          exit;
118
+                        $return =  call_user_func_array([$controller, 'handle'], $params);
119
+                        if($return != true) {
120
+                            echo $return;
121
+                            exit;
122 122
 
123 123
                         } else {
124
-                         return $return;
125
-                     }
124
+                            return $return;
125
+                        }
126 126
                     }
127 127
 
128 128
                 return $this->exception('handle() method is not found in <b>' . $command . '</b> class.');
Please login to merge, or discard this patch.