@@ -35,11 +35,11 @@ |
||
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); |