| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractGranularity |
||
| 10 | { |
||
| 11 | protected Granularity $queryGranularity; |
||
| 12 | |||
| 13 | protected bool $rollup; |
||
| 14 | |||
| 15 | protected IntervalCollection $intervals; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * UniformGranularity constructor. |
||
| 19 | * |
||
| 20 | * @param string|Granularity $queryGranularity |
||
| 21 | * @param bool $rollup |
||
| 22 | * @param IntervalCollection $intervals |
||
| 23 | */ |
||
| 24 | 14 | public function __construct(string|Granularity $queryGranularity, bool $rollup, IntervalCollection $intervals) |
|
| 29 | } |
||
| 30 | } |