@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @return \Level23\Druid\Queries\QueryBuilder |
94 | 94 | */ |
95 | - public function query(string $dataSource = '', string|Granularity $granularity = Granularity::ALL): QueryBuilder |
|
95 | + public function query(string $dataSource = '', string | Granularity $granularity = Granularity::ALL): QueryBuilder |
|
96 | 96 | { |
97 | 97 | return new QueryBuilder($this, $dataSource, $granularity); |
98 | 98 | } |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | if (!is_array($row)) { |
338 | 338 | throw new InvalidArgumentException('We failed to parse response!'); |
339 | 339 | } |
340 | - } catch (InvalidArgumentException|JsonException $exception) { |
|
340 | + } catch (InvalidArgumentException | JsonException $exception) { |
|
341 | 341 | $this->log('We failed to decode druid response. '); |
342 | 342 | $this->log('Status code: ' . $response->getStatusCode()); |
343 | 343 | $this->log('Response body: ' . $contents); |