| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class TimeSeriesQueryResponse extends QueryResponse |
||
| 7 | { |
||
| 8 | protected string $timeOutputName; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * TimeSeriesQueryResponse constructor. |
||
| 12 | * |
||
| 13 | * @param array<string|int,string|int|array<mixed>> $response $response |
||
| 14 | * @param string $timeOutputName |
||
| 15 | */ |
||
| 16 | 5 | public function __construct(array $response, string $timeOutputName) |
|
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Return the data in a "normalized" way, so we can easily iterate over it |
||
| 25 | * |
||
| 26 | * @return array<array<mixed>> |
||
| 27 | */ |
||
| 28 | 2 | public function data(): array |
|
| 36 | } |
||
| 37 | } |