| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait TCheckArrayRange |
||
| 15 | { |
||
| 16 | use TRule; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param mixed|null $againstValue |
||
| 20 | * @throws RuleException |
||
| 21 | * @return array<array<int>> |
||
| 22 | */ |
||
| 23 | 8 | protected function checkValue($againstValue) |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed|null $againstValue |
||
| 33 | * @throws RuleException |
||
| 34 | * @return array<int> |
||
| 35 | */ |
||
| 36 | 7 | protected function checkRule($againstValue): array |
|
| 44 |