Passed
Push — master ( dbdbaf...a4a0d1 )
by Christian
05:43
created
src/Resolvers/CloudFlare.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
             }
70 70
 
71 71
             $promises[] = $this->doAsyncApiQuery(['name' => (string)$hostname, 'type' => $type])
72
-                ->then(function (Response $response) use (&$collection) {
73
-                    $decoded = (array) json_decode((string)$response->getBody(), true);
72
+                ->then(function(Response $response) use (&$collection) {
73
+                    $decoded = (array)json_decode((string)$response->getBody(), true);
74 74
                     foreach ($this->parseResult($decoded) as $fields) {
75 75
                         $collection[] = $this->mapper->mapFields($fields)->toDNSRecord();
76 76
                     }
Please login to merge, or discard this patch.
src/Resolvers/GoogleDNS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             throw new QueryFailure("Unable to query CloudFlare API", 0, $e);
86 86
         }
87 87
 
88
-        $result = (array) json_decode((string)$response->getBody(), true);
88
+        $result = (array)json_decode((string)$response->getBody(), true);
89 89
 
90 90
         if (isset($result['Answer'])) {
91 91
             return $result['Answer'];
Please login to merge, or discard this patch.