@@ -45,7 +45,7 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | public function __toString() : string |
| 47 | 47 | { |
| 48 | - return $this->getMainRecordPart() . " {$this->getPtrDName()}"; |
|
| 48 | + return $this->getMainRecordPart()." {$this->getPtrDName()}"; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function __toString() : string |
| 46 | 46 | { |
| 47 | - return $this->getMainRecordPart() . " " . $this->getCname(); |
|
| 47 | + return $this->getMainRecordPart()." ".$this->getCname(); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | protected function refreshHash() |
| 67 | 67 | { |
| 68 | - $this->hash = md5(((string) $this) . $this->getNode()->getZone()->getOrigin()); |
|
| 68 | + $this->hash = md5(((string) $this).$this->getNode()->getZone()->getOrigin()); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function __toString() : string |
| 46 | 46 | { |
| 47 | - return $this->getMainRecordPart() . " " . $this->getAddress(); |
|
| 47 | + return $this->getMainRecordPart()." ".$this->getAddress(); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -176,7 +176,7 @@ |
||
| 176 | 176 | $errorsStore->add(ValidationError::makeNodeError($this, eErrorCode::WRONG_NODE_NAME())); |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | - if ($this->getName() === "@" && (!SoaNumberCheck::validate($this) || !NoSoaRecordValidator::validate($this))) { |
|
| 179 | + if ($this->getName() === "@" && (!SoaNumberCheck::validate($this) || !NoSoaRecordValidator::validate($this))) { |
|
| 180 | 180 | $errorsStore->add(ValidationError::makeNodeError($this, eErrorCode::SOA_ERROR())); |
| 181 | 181 | } |
| 182 | 182 | |