Passed
Push — master ( 6ce433...a21ca3 )
by Sergey
02:46
created
src/LTDBeget/dns/configurator/zoneEntities/record/TxtRecord.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,19 +44,19 @@
 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
 
51
-        $char_sets          = implode("\n", $spited_with_quotes);
51
+        $char_sets = implode("\n", $spited_with_quotes);
52 52
 
53 53
         if (count($spited_with_quotes) > 1) {
54
-            $rdataString = " ( \n" . $char_sets . "\n ) \n";
54
+            $rdataString = " ( \n".$char_sets."\n ) \n";
55 55
         } else {
56
-            $rdataString = ' ' . $char_sets;
56
+            $rdataString = ' '.$char_sets;
57 57
         }
58 58
 
59
-        return $this->getMainRecordPart() . $rdataString;
59
+        return $this->getMainRecordPart().$rdataString;
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/SoaRecord.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param int    $expire
65 65
      * @param int    $minimum
66 66
      */
67
-    public function __construct
68
-    (
67
+    public function __construct(
69 68
         Node $node,
70 69
         int $ttl,
71 70
         string $mName,
@@ -92,7 +91,7 @@  discard block
 block discarded – undo
92 91
      */
93 92
     public function __toString() : string
94 93
     {
95
-        return $this->getMainRecordPart() . ' ' . implode(' ', [
94
+        return $this->getMainRecordPart().' '.implode(' ', [
96 95
             $this->getMName(),
97 96
             $this->getRName(),
98 97
             $this->getSerial(),
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/AaaaRecord.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->getAddress();
47
+        return $this->getMainRecordPart().' '.$this->getAddress();
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/LTDBeget/dns/configurator/zoneEntities/record/ARecord.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->getAddress();
47
+        return $this->getMainRecordPart().' '.$this->getAddress();
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.