Total Complexity | 6 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | trait TCheckRules |
||
15 | { |
||
16 | use TRule; |
||
17 | |||
18 | /** |
||
19 | * @param mixed|null $againstValue |
||
20 | * @throws RuleException |
||
21 | * @return array<ARule|File\AFileRule> |
||
22 | */ |
||
23 | 12 | protected function checkValue($againstValue) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param mixed|null $singleRule |
||
33 | * @throws RuleException |
||
34 | * @return ARule|File\AFileRule |
||
35 | */ |
||
36 | 11 | protected function checkRule($singleRule) |
|
47 |