Test Failed
Push — feature-laravel-5.4 ( 7ff291...137501 )
by Kirill
03:27
created
app/Http/Middleware/CorsMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             // Allow credentials
101 101
             'Access-Control-Allow-Credentials' => 'true',
102 102
             // No P3P policy (?)
103
-            'P3P'                              => 'policyref="/w3c/p3p.xml", ' .
103
+            'P3P'                              => 'policyref="/w3c/p3p.xml", '.
104 104
                 'CP="NON DSP COR CUR ADM DEV PSA PSD OUR UNR BUS UNI COM NAV INT DEM STA"',
105 105
             // Blocks api queries into iframes
106 106
             'X-Frame-Options'                  => 'DENY',
@@ -155,6 +155,6 @@  discard block
 block discarded – undo
155 155
         $host   = parse_url($url, PHP_URL_HOST);
156 156
         $port   = parse_url($url, PHP_URL_PORT) ?: 80;
157 157
 
158
-        return $scheme . '://' . $host . ($port !== 80 ? ':' . $port : '');
158
+        return $scheme.'://'.$host.($port !== 80 ? ':'.$port : '');
159 159
     }
160 160
 }
Please login to merge, or discard this patch.