Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Lines | 6 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
11 | public function __construct(string $html, int $statusCode = 200, array $headers = [], $body = null, string $version = '1.1', string $reason = null) |
||
12 | { |
||
13 | parent::__construct($statusCode, $headers + [ |
||
14 | 'Content-Type' => 'text/html; charset=utf-8' |
||
15 | ], $html, $version, $reason); |
||
16 | } |
||
17 | } |