Completed
Push — master ( 1fdc00...75f034 )
by Christian
02:44
created
src/Entities/DNSRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         return $this->hostname->equals($record->getHostname())
108 108
             && $this->recordType->equals($record->getType())
109
-            && (string) $this->IPAddress === (string) $record->getIPAddress(); // could be null
109
+            && (string)$this->IPAddress === (string)$record->getIPAddress(); // could be null
110 110
     }
111 111
 
112 112
     public function serialize(): string
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $rawIPAddres = $unserialized['IPAddress'] ?? null;
122 122
         $this->recordType = DNSRecordType::createFromString($unserialized['type']);
123 123
         $this->hostname = Hostname::createFromString($unserialized['hostname']);
124
-        $this->TTL = (int) $unserialized['TTL'];
124
+        $this->TTL = (int)$unserialized['TTL'];
125 125
         $this->IPAddress = $rawIPAddres ? IPAddress::createFromString($rawIPAddres) : null;
126 126
         $this->class = $unserialized['class'];
127 127
     }
Please login to merge, or discard this patch.