Completed
Push — master ( e45033...b3fad6 )
by Arman
25s queued 13s
created
src/Http/Request/Params.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
             'size' => $fs->size($tempName),
235 235
         ]);
236 236
 
237
-        register_shutdown_function(function () use ($fs, $tempName) {
237
+        register_shutdown_function(function() use ($fs, $tempName) {
238 238
             $fs->remove($tempName);
239 239
         });
240 240
 
Please login to merge, or discard this patch.
src/Http/Response/HttpResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
      * @param array $arr
302 302
      * @param SimpleXMLElement $simpleXML
303 303
      */
304
-    private static function composeXML(array $arr, SimpleXMLElement &$simpleXML)
304
+    private static function composeXML(array $arr, SimpleXMLElement & $simpleXML)
305 305
     {
306 306
         foreach ($arr as $key => $value) {
307 307
             if (is_numeric($key)) {
Please login to merge, or discard this patch.
src/Router/Router.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $this->findPatternMatches($uri);
101 101
 
102 102
         if (!count($this->matchedRoutes)) {
103
-            stop(function () {
103
+            stop(function() {
104 104
                 $this->handleNotFound();
105 105
             });
106 106
         }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         if (filter_var(config()->get(Debugger::DEBUG_ENABLED), FILTER_VALIDATE_BOOLEAN)) {
121 121
             $routeInfo = [];
122 122
 
123
-            array_walk($matchedRoute, function ($value, $key) use (&$routeInfo) {
123
+            array_walk($matchedRoute, function($value, $key) use (&$routeInfo) {
124 124
                 $routeInfo[ucfirst($key)] = json_encode($value);
125 125
             });
126 126
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         $routePattern = '(\/)?';
192 192
         $routeParams = [];
193 193
 
194
-        $lastIndex = (int)array_key_last($routeSegments);
194
+        $lastIndex = (int) array_key_last($routeSegments);
195 195
 
196 196
         foreach ($routeSegments as $index => $segment) {
197 197
             $segmentParam = $this->checkSegment($segment, $index, $lastIndex);
Please login to merge, or discard this patch.