| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | final class TreeException extends \RuntimeException implements \byrokrat\autogiro\Exception |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * @var array<string> |
||
| 33 | */ |
||
| 34 | private $errors; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param array<string> $errors |
||
| 38 | */ |
||
| 39 | public function __construct(array $errors) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return array<string> |
||
| 47 | */ |
||
| 48 | public function getErrors(): array |
||
| 53 |