| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | abstract class InternalException extends Exception |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param array<mixed, mixed> $context |
||
| 14 | */ |
||
| 15 | public function __construct( |
||
| 16 | 12 | string $message, |
|
| 17 | int $code, |
||
| 18 | null|Throwable $previous = null, |
||
| 19 | private readonly array $context = [], |
||
| 20 | ) { |
||
| 21 | parent::__construct($message, $code, $previous); |
||
| 22 | 12 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return array<mixed, mixed> |
||
| 26 | */ |
||
| 27 | public function getContext(): array |
||
| 30 | 2 | } |
|
| 31 | } |
||
| 32 |