Completed
Push — master ( a3b43d...42e267 )
by Pierre
02:37
created
src/App/Controllers/Api/V1/Stat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,11 +37,11 @@
 block discarded – undo
37 37
         $status = opcache_get_status();
38 38
         if (!empty($status)) {
39 39
             $path = dirname(dirname($this->request->getFilename()));
40
-            $scripts = array_filter($status['scripts'], function ($val) use ($path) {
40
+            $scripts = array_filter($status['scripts'], function($val) use ($path) {
41 41
                 return strpos($val['full_path'], $path) !== false;
42 42
             });
43 43
             $status['scripts'] = array_values($scripts);
44
-            $bytes = array_reduce($status['scripts'], function ($stack, $val) {
44
+            $bytes = array_reduce($status['scripts'], function($stack, $val) {
45 45
                 return $stack + $val['memory_consumption'];
46 46
             });
47 47
             $scriptCount = count($scripts);
Please login to merge, or discard this patch.