Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | class InvalidSettingValueException extends RuntimeException implements SettingException |
||
32 | { |
||
33 | /** |
||
34 | * @var array|string[] |
||
35 | */ |
||
36 | private $errors; |
||
37 | |||
38 | /** |
||
39 | * InvalidSettingValueException constructor. |
||
40 | * |
||
41 | * @param string|array|string[] $messages One ore more validation error messages |
||
42 | * @param int $code |
||
43 | * @param Throwable|null $previous |
||
44 | */ |
||
45 | 6 | public function __construct($messages = "", int $code = 0, Throwable $previous = null) |
|
49 | 6 | } |
|
50 | |||
51 | /** |
||
52 | * @return array|string[] |
||
53 | */ |
||
54 | 6 | public function getErrors(): array |
|
59 |