@@ -196,7 +196,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | /** |