Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
HttpTemporaryRedirect | |
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 HttpTemporaryRedirect extends HttpRedirect |
8 | { |
9 | public function __construct( |
10 | string $url, |
11 | array $headers = [] |
12 | ) { |
13 | parent::__construct($url, 302, $headers); |
14 | } |
15 | } |