Passed
Push — master ( 564acc...740843 )
by Teye
06:25 queued 47s
created
examples/Index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 } catch (Exception $exception) {
57 57
     echo "Something went wrong during retrieving druid data\n";
58 58
     echo $exception->getMessage() . "\n";
59
-    echo $exception->getTraceAsString(). "\n";
59
+    echo $exception->getTraceAsString() . "\n";
60 60
     if ($exception instanceof \GuzzleHttp\Exception\ClientException) {
61 61
         echo $exception->getResponse()->getBody() . "\n";
62 62
     }
Please login to merge, or discard this patch.
examples/Spatial.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         ->select('Mountain')
23 23
         ->select('Country')
24 24
         ->select('Location')
25
-        ->whereSpatialRadius('Location', [28,84], 0.8)
25
+        ->whereSpatialRadius('Location', [28, 84], 0.8)
26 26
     ;
27 27
 
28 28
     // Execute the query.
Please login to merge, or discard this patch.
src/DruidClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         /** @var array<string,array<mixed>|int|string> $payload */
149 149
         $payload = $task->toArray();
150 150
 
151
-        $this->log('Executing druid task: '. var_export($payload, true));
151
+        $this->log('Executing druid task: ' . var_export($payload, true));
152 152
 
153 153
         /** @var string[] $result */
154 154
         $result = $this->executeRawRequest(
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
             if (!is_array($row)) {
328 328
                 throw new InvalidArgumentException('We failed to parse response!');
329 329
             }
330
-        } catch (InvalidArgumentException|JsonException $exception ) {
330
+        } catch (InvalidArgumentException | JsonException $exception) {
331 331
             $this->log('We failed to decode druid response. ');
332 332
             $this->log('Status code: ' . $response->getStatusCode());
333 333
             $this->log('Response body: ' . $contents);
Please login to merge, or discard this patch.