@@ -106,7 +106,7 @@ discard block |
||
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 |
||
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 | } |