@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | public function __construct(Node $node, $ttl, int $preference, string $exchange) |
43 | 43 | { |
44 | 44 | $this->preference = $preference; |
45 | - $this->exchange = $exchange!=='.' ? $exchange : $node->getZone()->getOrigin(); |
|
45 | + $this->exchange = $exchange !== '.' ? $exchange : $node->getZone()->getOrigin(); |
|
46 | 46 | parent::__construct($node, eRecordType::MX(), $ttl); |
47 | 47 | } |
48 | 48 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function __toString() : string |
53 | 53 | { |
54 | - return $this->getMainRecordPart() . " {$this->getPreference()} {$this->getExchange()}"; |
|
54 | + return $this->getMainRecordPart()." {$this->getPreference()} {$this->getExchange()}"; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |