Passed
Branch master (b98f53)
by Tobias
03:29
created
Category
src/Http/Middleware/Cors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     private function addCorsHeaders(Request $request, Response $response)
35 35
     {
36
-        if (! $response->headers->has('Access-Control-Allow-Origin')) {
36
+        if (!$response->headers->has('Access-Control-Allow-Origin')) {
37 37
             $response = $response->header('Access-Control-Allow-Origin', '*')
38 38
                 ->header('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, DELETE, OPTIONS');
39 39
         }
Please login to merge, or discard this patch.