@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public static function expandIncompleteIpv6(string $ip): string |
50 | 50 | { |
51 | - $hextets = array_map(function ($hextet) { |
|
51 | + $hextets = array_map(function($hextet) { |
|
52 | 52 | return str_pad($hextet, 4, '0', STR_PAD_LEFT); |
53 | 53 | }, explode(':', $ip)); |
54 | 54 |
@@ -238,6 +238,9 @@ discard block |
||
238 | 238 | return $isName; |
239 | 239 | } |
240 | 240 | |
241 | + /** |
|
242 | + * @param string $origin |
|
243 | + */ |
|
241 | 244 | private function isClass(ResourceRecordIterator $iterator, $origin = null): bool |
242 | 245 | { |
243 | 246 | if (!Classes::isValid($iterator->current())) { |
@@ -351,7 +354,7 @@ discard block |
||
351 | 354 | /** |
352 | 355 | * @param ResourceRecordIterator $iterator |
353 | 356 | * |
354 | - * @return RData\RdataInterface |
|
357 | + * @return Rdata\RdataInterface |
|
355 | 358 | * |
356 | 359 | * @throws ParseException |
357 | 360 | */ |
@@ -147,7 +147,7 @@ |
||
147 | 147 | |
148 | 148 | $totalError = 0; |
149 | 149 | |
150 | - $incrementError = function (bool $errorCondition, int $errorOrdinal) use (&$totalError): void { |
|
150 | + $incrementError = function(bool $errorCondition, int $errorOrdinal) use (&$totalError): void { |
|
151 | 151 | $totalError += $errorCondition ? $errorOrdinal : 0; |
152 | 152 | }; |
153 | 153 |
@@ -329,8 +329,8 @@ |
||
329 | 329 | * @return RRSIG |
330 | 330 | */ |
331 | 331 | public static function RRSIG(string $typeCovered, int $algorithm, int $labels, int $originalTtl, |
332 | - int $signatureExpiration, int $signatureInception, int $keyTag, |
|
333 | - string $signersName, string $signature): RRSIG |
|
332 | + int $signatureExpiration, int $signatureInception, int $keyTag, |
|
333 | + string $signersName, string $signature): RRSIG |
|
334 | 334 | { |
335 | 335 | $rdata = new RRSIG(); |
336 | 336 | $rdata->setTypeCovered($typeCovered); |