| Conditions | 2 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 453 | public function __construct( |
|
| 17 | string $message = '', |
||
| 18 | int $code = 0, |
||
| 19 | ?\Throwable $previous = null, |
||
| 20 | protected ?Tracer $tracer = null |
||
| 21 | ) { |
||
| 22 | 453 | parent::__construct($tracer !== null ? $message . PHP_EOL . $tracer : $message, $code, $previous); |
|
| 23 | |||
| 24 | 453 | $tracer?->clean(); |
|
| 25 | } |
||
| 27 |