Passed
Push — master ( d65c20...a7ba41 )
by Christian
02:11
created
src/Mappers/CloudFlare.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             : null;
15 15
 
16 16
         return DNSRecord::createFromPrimitives(
17
-            DNSRecordType::createFromInt((int) $this->fields['type']),
17
+            DNSRecordType::createFromInt((int)$this->fields['type']),
18 18
             substr($this->fields['name'], 0, -1),
19 19
             $this->fields['TTL'],
20 20
             $IPAddress
Please login to merge, or discard this patch.
src/Mappers/GoogleDNS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
             : null;
15 15
 
16 16
         return DNSRecord::createFromPrimitives(
17
-            DNSRecordType::createFromInt((int) $this->fields['type']),
17
+            DNSRecordType::createFromInt((int)$this->fields['type']),
18 18
             substr($this->fields['name'], 0, -1),
19 19
             $this->fields['TTL'],
20 20
             $IPAddress
Please login to merge, or discard this patch.
src/Entities/DNSRecordCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function filteredByType(DNSRecordType $type): self
33 33
     {
34
-        return new self(...array_filter($this->records->getArrayCopy(), function (DNSRecord $record) use ($type) {
34
+        return new self(...array_filter($this->records->getArrayCopy(), function(DNSRecord $record) use ($type) {
35 35
             return $record->getType()->equals($type);
36 36
         }));
37 37
     }
@@ -121,14 +121,14 @@  discard block
 block discarded – undo
121 121
 
122 122
     public function withUniqueValuesExcluded(): self
123 123
     {
124
-        return $this->filterValues(function (DNSRecord $candidateRecord, DNSRecordCollection $remaining): bool {
124
+        return $this->filterValues(function(DNSRecord $candidateRecord, DNSRecordCollection $remaining): bool {
125 125
             return $remaining->has($candidateRecord);
126 126
         });
127 127
     }
128 128
 
129 129
     public function withUniqueValues(): self
130 130
     {
131
-        return $this->filterValues(function (DNSRecord $candidateRecord, DNSRecordCollection $remaining): bool {
131
+        return $this->filterValues(function(DNSRecord $candidateRecord, DNSRecordCollection $remaining): bool {
132 132
             return !$remaining->has($candidateRecord);
133 133
         });
134 134
     }
Please login to merge, or discard this patch.