@@ -248,7 +248,7 @@ discard block |
||
| 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 |
||
| 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]); |
@@ -35,11 +35,11 @@ |
||
| 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); |