Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
48 | 1 | protected function buildQuery(): array |
|
49 | { |
||
50 | 1 | $metrics = implode(',', $this->metrics); |
|
51 | |||
52 | 1 | $query = parent::buildQuery(); |
|
53 | $query += [ |
||
54 | 1 | 'metric' => $metrics, |
|
55 | 1 | 'since' => $this->since, |
|
56 | 1 | 'until' => $this->until, |
|
57 | ]; |
||
58 | |||
59 | 1 | return $this->arrayFilter($query); |
|
60 | } |
||
61 | } |
||
62 |