Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | 3 | public function __construct( |
|
15 | ConstraintViolationListInterface $errors, |
||
16 | ?string $message = null, |
||
17 | ?\Throwable $previous = null, |
||
18 | array $headers = [], |
||
19 | ?int $code = 0 |
||
20 | ) { |
||
21 | 3 | parent::__construct(400, $message, $previous, $headers, $code); |
|
22 | 3 | $this->errors = $errors; |
|
23 | 3 | } |
|
30 |