Passed
Branch master (cfe17f)
by Sam
05:06
created
Category
src/CorsService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/CorsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.