Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 6 | public function __construct($message, $statusCode = 0, \Exception $previous = null, array $errors = [], array $headers = []) |
|
34 | { |
||
35 | 6 | $this->statusCode = $statusCode; |
|
36 | 6 | $this->headers = $headers; |
|
37 | 6 | $this->errors = $errors; |
|
38 | |||
39 | 6 | parent::__construct($message, $statusCode, $previous); |
|
40 | 6 | } |
|
41 | |||
75 |