@@ -20,8 +20,8 @@ |
||
| 20 | 20 | |
| 21 | 21 | protected function writeHeader(HttpResponse $response) |
| 22 | 22 | { |
| 23 | - echo "HTTP/1.1 " . $response->getResponseCode() . "\r\n"; |
|
| 24 | - echo "Content-Type: " . $this->getContentType() . "\r\n"; |
|
| 23 | + echo "HTTP/1.1 ".$response->getResponseCode()."\r\n"; |
|
| 24 | + echo "Content-Type: ".$this->getContentType()."\r\n"; |
|
| 25 | 25 | |
| 26 | 26 | foreach ($response->getHeaders() as $header) { |
| 27 | 27 | if (is_array($header)) { |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | if (defined("RESTSERVER_TEST")) { |
| 63 | 63 | return; |
| 64 | 64 | } |
| 65 | - header("Content-Type: " . $this->contentType); |
|
| 65 | + header("Content-Type: ".$this->contentType); |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | public function getContentType() |
@@ -40,8 +40,8 @@ |
||
| 40 | 40 | public function getDetailedErrorHandler(); |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return Handler |
|
| 44 | - */ |
|
| 43 | + * @return Handler |
|
| 44 | + */ |
|
| 45 | 45 | public function getErrorHandler(); |
| 46 | 46 | |
| 47 | 47 | /** |