@@ -44,19 +44,19 @@ |
||
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 | /** |
@@ -64,8 +64,7 @@ discard block |
||
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 |
||
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(), |
@@ -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 | /** |
@@ -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 | /** |
@@ -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 | /** |