Passed
Push — master ( a4a0d1...2d4f15 )
by Christian
07:35
created
src/Entities/DataAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
 
37 37
         if ($recordType->isA(DNSRecordType::TYPE_SOA)) {
38 38
             return new SOAData(
39
-                (string) $parsed[0],
40
-                (string) $parsed[1],
39
+                (string)$parsed[0],
40
+                (string)$parsed[1],
41 41
                 (int)$parsed[2] ?? 0,
42 42
                 (int)$parsed[3] ?? 0,
43 43
                 (int)$parsed[4] ?? 0,
Please login to merge, or discard this patch.
src/Resolvers/CloudFlare.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@  discard block
 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
                     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     private function doApiQuery(array $query = []) : DNSRecordCollection
91 91
     {
92
-        $decoded = (array) json_decode((string)$this->doAsyncApiQuery($query)->wait()->getBody(), true);
92
+        $decoded = (array)json_decode((string)$this->doAsyncApiQuery($query)->wait()->getBody(), true);
93 93
         $collection = new DNSRecordCollection();
94 94
 
95 95
         foreach ($this->parseResult($decoded) as $fields) {
Please login to merge, or discard this patch.