@@ -73,10 +73,10 @@ discard block |
||
| 73 | 73 | public function send() |
| 74 | 74 | { |
| 75 | 75 | foreach ($this->headers as $key => $value) { |
| 76 | - header("$key: " . implode(',', $value)); |
|
| 76 | + header("$key: ".implode(',', $value)); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | - if($this->hasHeader('Content-Type') === false) { |
|
| 79 | + if ($this->hasHeader('Content-Type') === false) { |
|
| 80 | 80 | header(vsprintf( |
| 81 | 81 | 'Content-Type: %s', |
| 82 | 82 | $this->hasHeader('Content-Type') ? $this->getHeader('Content-Type') : [$this->contentType] |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | if ($this->compression) { |
| 90 | 90 | ob_start('ob_gzhandler'); |
| 91 | 91 | } |
| 92 | - echo (string)$this->getBody(); |
|
| 92 | + echo (string) $this->getBody(); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | ob_end_flush(); |
@@ -100,6 +100,6 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | public function __toString() |
| 102 | 102 | { |
| 103 | - return (string)$this->getBody(); |
|
| 103 | + return (string) $this->getBody(); |
|
| 104 | 104 | } |
| 105 | 105 | } |