Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function __construct( |
||
32 | string $message = null, |
||
33 | string $description = null, |
||
34 | int $code = null, |
||
35 | \Throwable $previous = null |
||
36 | ) { |
||
37 | parent::__construct( |
||
38 | $message ?? 'Not Found', |
||
39 | $description ?? '', |
||
40 | $code ?? StatusCodeInterface::STATUS_NOT_FOUND, |
||
41 | StatusCodeInterface::STATUS_NOT_FOUND, |
||
42 | $previous |
||
43 | ); |
||
44 | } |
||
45 | } |
||
46 |