Completed
Push — master ( f9dcdb...5d2770 )
by Enrico
02:49
created

NotFoundHttpException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
namespace uSILEX\Exception;
3
4
/**
5
 * @author Fabien Potencier <[email protected]>
6
 */
7
class NotFoundHttpException extends HttpException
8
{
9
    /**
10
     * @param string     $message  The internal exception message
11
     * @param \Exception $previous The previous exception
12
     * @param int        $code     The internal exception code
13
     * @param array      $headers
14
     */
15 2
    public function __construct(string $message = null, \Exception $previous = null, int $code = 0, array $headers = array())
16
    {
17 2
        parent::__construct(404, $message, $previous, $headers, $code);
18 2
    }
19
}
20