Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | trait TCheckRange |
||
15 | { |
||
16 | use TRule; |
||
17 | |||
18 | /** |
||
19 | * @param mixed|null $againstValue |
||
20 | * @throws RuleException |
||
21 | * @return array<int> |
||
22 | */ |
||
23 | 26 | protected function checkValue($againstValue) |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param mixed|null $againstValue |
||
36 | * @throws RuleException |
||
37 | * @return int |
||
38 | */ |
||
39 | 42 | protected function checkRule($againstValue): int |
|
50 |