Passed
Branch master (580441)
by Pierre
02:44
created
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 ($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.