@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | } |
| 250 | 250 | (new Middleware())->layer($this->middlewares)->peel( |
| 251 | 251 | $this->container, |
| 252 | - function ($container) { |
|
| 252 | + function($container) { |
|
| 253 | 253 | $this->execute($this->router->getParams()); |
| 254 | 254 | return $container; |
| 255 | 255 | } |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | protected function setActions() |
| 340 | 340 | { |
| 341 | 341 | $methods = $this->getFinalMethods(); |
| 342 | - $methodsName = array_map(function ($method) { |
|
| 342 | + $methodsName = array_map(function($method) { |
|
| 343 | 343 | return $method->name; |
| 344 | 344 | }, $methods); |
| 345 | 345 | $this->actions = array_merge($methodsName, ['preflight']); |