Completed
Push — master ( e91cab...39a6a8 )
by Vadim
02:07
created
src/Folour/Oxide/Components/Response/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 /**
4 4
  * @author  Vadim Bova <[email protected]>
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         //If follow locations enabled, headers of all redirects is returned.
98 98
         //But we need headers of last request only.
99
-        if(strstr($raw_headers, "\r\n\r\n")) {
99
+        if (strstr($raw_headers, "\r\n\r\n")) {
100 100
             $ex = explode("\r\n\r\n", $raw_headers);
101 101
             $raw_headers = end($ex);
102 102
         }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $headers = [];
106 106
 
107 107
         foreach ($ex_headers as $header_line) {
108
-            if(strstr($header_line, ': ')) {
108
+            if (strstr($header_line, ': ')) {
109 109
                 [$header_key, $header_value] = explode(': ', $header_line);
110 110
 
111 111
                 $headers[$header_key] = $header_value;
Please login to merge, or discard this patch.