| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class UnableBuildTreeException extends InvalidArgumentException |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array 不正确的数据id |
||
| 14 | */ |
||
| 15 | protected $badNodeIds = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * UnableBuildTreeException constructor. |
||
| 19 | * |
||
| 20 | * @param array $badIds |
||
| 21 | * @param string $message |
||
| 22 | * @param int $code |
||
| 23 | * @param Throwable|null $previous |
||
| 24 | */ |
||
| 25 | 1 | public function __construct( |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int[]|string[] |
||
| 38 | */ |
||
| 39 | 1 | public function getBadNodeIds() |
|
| 44 |