@@ -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(null); |
| 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']); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | 'prefix' => '/api/v1/', |
| 12 | 12 | 'exclude' => [ |
| 13 | 13 | 'auth/login', 'stat/opcache', 'stat/filecache', |
| 14 | - 'restful' ,'restful/index', 'test/pokerelay' |
|
| 14 | + 'restful', 'restful/index', 'test/pokerelay' |
|
| 15 | 15 | ], |
| 16 | 16 | ], |
| 17 | 17 | App\Middlewares\Restful::class => [ |