Completed
Push — master ( dc7608...9ac7b6 )
by Pierre
03:32
created
src/App/Reuse/TKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         }
249 249
         (new Middleware())->layer($this->middlewares)->peel(
250 250
             $this->container,
251
-            function ($container) {
251
+            function($container) {
252 252
                 $this->execute(null);
253 253
                 return $container;
254 254
             }
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
     protected function setActions()
363 363
     {
364 364
         $methods = $this->getFinalMethods();
365
-        $methodsName = array_map(function ($method) {
365
+        $methodsName = array_map(function($method) {
366 366
             return $method->name;
367 367
         }, $methods);
368 368
         $this->actions = array_merge($methodsName, [Kernel::_PREFLIGHT]);
Please login to merge, or discard this patch.
src/App/Controllers/Api/V1/Stat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@
 block discarded – undo
35 35
         ]);
36 36
         if (is_array($status)) {
37 37
             $path = dirname(dirname($this->request->getFilename()));
38
-            $scripts = array_filter($status['scripts'], function ($val) use ($path) {
38
+            $scripts = array_filter($status['scripts'], function($val) use ($path) {
39 39
                 return strpos($val['full_path'], $path) !== false;
40 40
             });
41 41
             $status['scripts'] = array_values($scripts);
42
-            $bytes = array_reduce($status['scripts'], function ($stack, $val) {
42
+            $bytes = array_reduce($status['scripts'], function($stack, $val) {
43 43
                 return $stack + $val['memory_consumption'];
44 44
             });
45 45
             $scriptCount = count($scripts);
Please login to merge, or discard this patch.