Completed
Push — master ( 35f910...0c4d2e )
by Zaahid
07:25
created
src/Header/HeaderContainer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     public function add($name, $value)
197 197
     {
198 198
         $s = $this->getNormalizedHeaderName($name);
199
-        $this->headers[$this->nextIndex] = [ $name, $value ];
199
+        $this->headers[$this->nextIndex] = [$name, $value];
200 200
         $this->headerObjects[$this->nextIndex] = null;
201 201
         if (!isset($this->headerMap[$s])) {
202 202
             $this->headerMap[$s] = [];
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             return;
225 225
         }
226 226
         $i = $this->headerMap[$s][$offset];
227
-        $this->headers[$i] = [ $name, $value ];
227
+        $this->headers[$i] = [$name, $value];
228 228
         $this->headerObjects[$i] = null;
229 229
     }
230 230
 
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     public function getHeaderObjects()
238 238
     {
239
-        return array_filter(array_map([ $this, 'getByIndex' ], array_keys($this->headers)));
239
+        return array_filter(array_map([$this, 'getByIndex'], array_keys($this->headers)));
240 240
     }
241 241
 
242 242
     /**
Please login to merge, or discard this patch.