@@ -36,9 +36,9 @@ |
||
| 36 | 36 | protected const DIRECTIVES = []; |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param Template $document |
|
| 40 | - * @return string |
|
| 41 | - */ |
|
| 39 | + * @param Template $document |
|
| 40 | + * @return string |
|
| 41 | + */ |
|
| 42 | 42 | protected function compile(Template $document): string |
| 43 | 43 | { |
| 44 | 44 | $compiler = new Compiler(); |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | * |
| 31 | 31 | * |
| 32 | 32 | * @param bool|string $implode Implode header lines, false to return header as array. |
| 33 | - |
|
| 34 | 33 | * @return string|array |
| 35 | 34 | */ |
| 36 | 35 | public function get(string $name, $default = null, $implode = ',') |
@@ -132,12 +132,12 @@ |
||
| 132 | 132 | { |
| 133 | 133 | $body = 'Example body'; |
| 134 | 134 | $response = $this->createResponse(200, [], $body) |
| 135 | - ->withHeader('X-Test', '1') |
|
| 136 | - ->withAddedHeader('X-Test', '2') |
|
| 137 | - ->withAddedHeader('X-Test', '3; 3.5') |
|
| 138 | - ->withHeader('Cookie-Set', '1') |
|
| 139 | - ->withAddedHeader('cookie-Set', '2') |
|
| 140 | - ->withAddedHeader('Cookie-set', '3'); |
|
| 135 | + ->withHeader('X-Test', '1') |
|
| 136 | + ->withAddedHeader('X-Test', '2') |
|
| 137 | + ->withAddedHeader('X-Test', '3; 3.5') |
|
| 138 | + ->withHeader('Cookie-Set', '1') |
|
| 139 | + ->withAddedHeader('cookie-Set', '2') |
|
| 140 | + ->withAddedHeader('Cookie-set', '3'); |
|
| 141 | 141 | |
| 142 | 142 | (new SapiEmitter())->emit($response); |
| 143 | 143 | $this->assertEquals(200, $this->getResponseCode()); |