Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
HttpNotFound
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Engelsystem\Http\Exceptions;
6
7use Throwable;
8
9class HttpNotFound extends HttpException
10{
11    public function __construct(
12        string $message = '',
13        array $headers = [],
14        int $code = 0,
15        ?Throwable $previous = null
16    ) {
17        parent::__construct(404, $message, $headers, $code, $previous);
18    }
19}