@@ -43,7 +43,7 @@ |
||
43 | 43 | public function __toString() : string |
44 | 44 | { |
45 | 45 | $spited_string = str_split($this->getTxtData(), 255); |
46 | - $spited_with_quotes = array_map(function ($value) { |
|
46 | + $spited_with_quotes = array_map(function($value) { |
|
47 | 47 | return "\"$value\""; |
48 | 48 | }, $spited_string); |
49 | 49 | $char_sets = implode("\n", $spited_with_quotes); |
@@ -63,8 +63,7 @@ |
||
63 | 63 | * @param int $expire |
64 | 64 | * @param int $minimum |
65 | 65 | */ |
66 | - public function __construct |
|
67 | - ( |
|
66 | + public function __construct( |
|
68 | 67 | Node $node, |
69 | 68 | int $ttl, |
70 | 69 | string $mName, |
@@ -128,8 +128,7 @@ discard block |
||
128 | 128 | * @param int|null $ttl |
129 | 129 | * @return RecordAppender |
130 | 130 | */ |
131 | - public function appendSoaRecord |
|
132 | - ( |
|
131 | + public function appendSoaRecord( |
|
133 | 132 | string $mName, |
134 | 133 | string $rName, |
135 | 134 | int $serial, |
@@ -163,8 +162,7 @@ discard block |
||
163 | 162 | * @param int|null $ttl |
164 | 163 | * @return RecordAppender |
165 | 164 | */ |
166 | - public function appendSrvRecord |
|
167 | - ( |
|
165 | + public function appendSrvRecord( |
|
168 | 166 | int $priority, |
169 | 167 | int $weight, |
170 | 168 | int $port, |
@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | public function sort() |
89 | 89 | { |
90 | - usort($this->records, function (Record $a, Record $b) { |
|
90 | + usort($this->records, function(Record $a, Record $b) { |
|
91 | 91 | if ($a->getType()->is(eRecordType::SOA)) { |
92 | 92 | return -1; |
93 | 93 | } elseif ($b->getType()->is(eRecordType::SOA)) { |