Completed
Push — master ( d25f45...d35dd0 )
by Matthew
02:31
created
src/Fyuze/Http/Message/Message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $headers = [];
64 64
 
65
-        foreach($this->headers as $name => $values) {
65
+        foreach ($this->headers as $name => $values) {
66 66
             $headers[strtolower($name)] = $values;
67 67
         }
68 68
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         }
129 129
 
130 130
         $instance = clone $this;
131
-        $instance->headers[$name] = array_filter((array)$value);
131
+        $instance->headers[$name] = array_filter((array) $value);
132 132
         return $instance;
133 133
     }
134 134
 
Please login to merge, or discard this patch.
src/Fyuze/Http/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             header("$key: " . implode(',', $value));
81 81
         }
82 82
 
83
-        if($this->hasHeader('Content-Type') === false) {
83
+        if ($this->hasHeader('Content-Type') === false) {
84 84
             header(vsprintf(
85 85
                 'Content-Type: %s',
86 86
                 $this->hasHeader('Content-Type') ? $this->getHeader('Content-Type') : [$this->contentType]
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             if ($this->compression) {
94 94
                 ob_start('ob_gzhandler');
95 95
             }
96
-            echo (string)$this->getBody();
96
+            echo (string) $this->getBody();
97 97
         }
98 98
     }
99 99
 
@@ -102,6 +102,6 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function __toString()
104 104
     {
105
-        return (string)$this->getBody();
105
+        return (string) $this->getBody();
106 106
     }
107 107
 }
Please login to merge, or discard this patch.