Passed
Push — master ( 191d07...cc9218 )
by Christian
52s queued 11s
created
src/Entities/DNSRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
         $rawIPAddres = $unserialized['IPAddress'] ?? null;
147 147
         $this->recordType = DNSRecordType::createFromString($unserialized['type']);
148 148
         $this->hostname = Hostname::createFromString($unserialized['hostname']);
149
-        $this->TTL = (int) $unserialized['TTL'];
149
+        $this->TTL = (int)$unserialized['TTL'];
150 150
         $this->IPAddress = $rawIPAddres ? IPAddress::createFromString($rawIPAddres) : null;
151 151
         $this->class = $unserialized['class'];
152 152
         $this->data = (isset($unserialized['data']))
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
@@ -63,13 +63,13 @@
 block discarded – undo
63 63
         $results = [];
64 64
         $eachPromise = new EachPromise($this->generateEachTypeQuery($hostname), [
65 65
             'concurrency' => 4,
66
-            'fulfilled' => function (Response $response) use (&$results) {
66
+            'fulfilled' => function(Response $response) use (&$results) {
67 67
                 $results = array_merge(
68 68
                     $results,
69
-                    $this->parseResult((array) json_decode((string)$response->getBody(), true))
69
+                    $this->parseResult((array)json_decode((string)$response->getBody(), true))
70 70
                 );
71 71
             },
72
-            'rejected' => function (RequestException $e): void {
72
+            'rejected' => function(RequestException $e): void {
73 73
                 throw $e;
74 74
             },
75 75
         ]);
Please login to merge, or discard this patch.
src/Entities/DataAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
         if ($recordType->isA(DNSRecordType::TYPE_SRV)) {
60 60
             return new SRVData(
61 61
                 (int)$parsed[0] ?? 0,
62
-                (int) $parsed[1] ?? 0,
63
-                (int) $parsed[2] ?? 0,
62
+                (int)$parsed[1] ?? 0,
63
+                (int)$parsed[2] ?? 0,
64 64
                 new Hostname($parsed[3]),
65 65
             );
66 66
         }
Please login to merge, or discard this patch.