Passed
Push — master ( bb44e9...3f3f7b )
by Sergey
02:48
created
src/LTDBeget/dns/configurator/zoneEntities/record/TxtRecord.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,12 +44,12 @@
 block discarded – undo
44 44
     public function __toString() : string
45 45
     {
46 46
         $spited_string      = str_split($this->getTxtData(), 255);
47
-        $spited_with_quotes = array_map(function ($value) {
47
+        $spited_with_quotes = array_map(function($value) {
48 48
             return "\"$value\"";
49 49
         }, $spited_string);
50 50
         $char_sets          = implode("\n", $spited_with_quotes);
51 51
 
52
-        return $this->getMainRecordPart() . " " . "$char_sets";
52
+        return $this->getMainRecordPart()." "."$char_sets";
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/PtrRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/CnameRecord.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/base/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.