| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class CumulativeException extends \RuntimeException |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array<\Throwable> |
||
| 11 | */ |
||
| 12 | private array $exceptions; |
||
| 13 | |||
| 14 | 6 | public function __construct(\Throwable ...$exceptions) |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return array<\Throwable> |
||
| 24 | */ |
||
| 25 | 1 | public function getExceptions(): array |
|
| 28 | } |
||
| 29 | |||
| 30 | 6 | private function getMessageDetails(): string |
|
| 48 |