diff options
Diffstat (limited to 'lib/Http/TextResponse.php')
-rw-r--r-- | lib/Http/TextResponse.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Http/TextResponse.php b/lib/Http/TextResponse.php index af5c84edb..fd97feae2 100644 --- a/lib/Http/TextResponse.php +++ b/lib/Http/TextResponse.php @@ -30,7 +30,7 @@ class TextResponse extends Response * @param string $contentType the mimetype. text/ is added automatically so * only plain or html can be added to get text/plain or text/html */ - public function __construct($content, $contentType='plain') + public function __construct($content, $contentType = 'plain') { $this->content = $content; $this->addHeader('Content-type', 'text/' . $contentType); @@ -46,6 +46,4 @@ class TextResponse extends Response { return $this->content; } - - } |