Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 4 | public function __construct( |
|
26 | string $message, |
||
27 | int $prCode, |
||
28 | int $srCode, |
||
29 | ?string $resultText = null, |
||
30 | int $code = 0, |
||
31 | ?Throwable $previous = null |
||
32 | ) { |
||
33 | 4 | parent::__construct($message, $code, $previous); |
|
34 | 4 | $this->resultText = $resultText; |
|
35 | 4 | $this->error = new ResponseError($prCode, $srCode); |
|
36 | } |
||
59 |