Test Setup Failed
Pull Request — master (#40)
by
unknown
01:02
created
src/LTDBeget/dns/configurator/zoneEntities/record/MxRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.