@@ -222,7 +222,7 @@ |
||
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | if ($this->maxAge) { |
| 225 | - $response->headers->set('Access-Control-Max-Age', (string)$this->maxAge); |
|
| 225 | + $response->headers->set('Access-Control-Max-Age', (string) $this->maxAge); |
|
| 226 | 226 | } |
| 227 | 227 | |
| 228 | 228 | $allowMethods = $this->isAllMethodsAllowed() |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | protected function registerBindings() |
| 30 | 30 | { |
| 31 | 31 | // TODO: Change to bind the implementation to the interface instead. |
| 32 | - $this->app->bind(CorsService::class, function () { |
|
| 32 | + $this->app->bind(CorsService::class, function() { |
|
| 33 | 33 | return new CorsService(config(self::CONFIG_KEY)); |
| 34 | 34 | }); |
| 35 | 35 | |