Completed
Push — master ( ac63ed...391fb0 )
by Arman
20s queued 16s
created
src/Http/Request/HttpRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         self::$__query = self::$server->query();
103 103
 
104
-        self::$__headers = array_change_key_case((array)getallheaders());
104
+        self::$__headers = array_change_key_case((array) getallheaders());
105 105
 
106 106
         list('params' => $params, 'files' => $files) = self::parsedParams();
107 107
 
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         $csrfToken = null;
253 253
 
254 254
         if (self::has(Csrf::TOKEN_KEY)) {
255
-            $csrfToken = (string)self::get(Csrf::TOKEN_KEY);
255
+            $csrfToken = (string) self::get(Csrf::TOKEN_KEY);
256 256
         } elseif (self::hasHeader('X-' . Csrf::TOKEN_KEY)) {
257 257
             $csrfToken = self::getHeader('X-' . Csrf::TOKEN_KEY);
258 258
         }
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     {
269 269
         $bearerToken = null;
270 270
 
271
-        $authorization = (string)self::getHeader('Authorization');
271
+        $authorization = (string) self::getHeader('Authorization');
272 272
 
273 273
         if (self::hasHeader('Authorization')) {
274 274
             if (preg_match('/Bearer\s(\S+)/', $authorization, $matches)) {
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
             return null;
297 297
         }
298 298
 
299
-        $authorization = (string)self::getHeader('Authorization');
299
+        $authorization = (string) self::getHeader('Authorization');
300 300
 
301 301
         if (preg_match('/Basic\s(\S+)/', $authorization, $matches)) {
302 302
             $decoded = base64_decode($matches[1], true);
Please login to merge, or discard this patch.