@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $statusPhrase = $this->status[$statusCode]; |
67 | 67 | } |
68 | 68 | parent::__construct($statusPhrase, $statusCode); |
69 | - $header = sprintf('HTTP/1.1 %d %s', $statusCode, $statusPhrase); |
|
69 | + $header = sprintf('HTTP/1.1 %d %s', $statusCode, $statusPhrase); |
|
70 | 70 | $this->addHeader($header); |
71 | 71 | $this->addHeaders($headers); |
72 | 72 | } |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | { |
103 | 103 | foreach ($headers as $key => $header) { |
104 | 104 | if (!is_int($key)) { |
105 | - $header = $key.': '.$header; |
|
105 | + $header = $key . ': ' . $header; |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | $this->addHeader($header); |