Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | abstract class AbstractCompareRule extends AbstractRule |
||
20 | { |
||
21 | /** |
||
22 | * @var bool compare inclusive or not |
||
23 | */ |
||
24 | protected $inclusive; |
||
25 | |||
26 | /** |
||
27 | * Check $what less $than or not |
||
28 | * |
||
29 | * @param mixed $what |
||
30 | * @param mixed $than |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | 69 | protected function less($what, $than): bool |
|
42 |