Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
HttpPermanentRedirect | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Engelsystem\Http\Exceptions; |
6 | |
7 | class HttpPermanentRedirect extends HttpRedirect |
8 | { |
9 | public function __construct( |
10 | string $url, |
11 | array $headers = [] |
12 | ) { |
13 | parent::__construct($url, 301, $headers); |
14 | } |
15 | } |