| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 4 | public function toArray(): array |
|
| 38 | { |
||
| 39 | 4 | return [ |
|
| 40 | 4 | 'type' => 'uniform', |
|
| 41 | 4 | 'segmentGranularity' => $this->segmentGranularity->value, |
|
| 42 | 4 | 'queryGranularity' => $this->queryGranularity->value, |
|
| 43 | 4 | 'rollup' => $this->rollup, |
|
| 44 | 4 | 'intervals' => $this->intervals->toArray(), |
|
| 45 | 4 | ]; |
|
| 47 | } |