Passed
Push — master ( 306b71...ebe21d )
by Teye
04:57
created
src/DruidClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.