@@ -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 |
@@ -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 |
@@ -366,7 +366,7 @@ |
||
366 | 366 | /** |
367 | 367 | * @param ResourceRecordIterator $iterator |
368 | 368 | * |
369 | - * @return RData\RdataInterface |
|
369 | + * @return Rdata\RdataInterface |
|
370 | 370 | * |
371 | 371 | * @throws ParseException |
372 | 372 | */ |
@@ -329,8 +329,8 @@ discard block |
||
329 | 329 | * @return RRSIG |
330 | 330 | */ |
331 | 331 | public static function RRSIG(string $typeCovered, int $algorithm, int $labels, int $originalTtl, |
332 | - \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
333 | - string $signersName, string $signature): RRSIG |
|
332 | + \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
333 | + string $signersName, string $signature): RRSIG |
|
334 | 334 | { |
335 | 335 | $rrsig = new RRSIG(); |
336 | 336 | $rrsig->setTypeCovered($typeCovered); |
@@ -656,8 +656,8 @@ discard block |
||
656 | 656 | * @return SIG |
657 | 657 | */ |
658 | 658 | public static function SIG(string $typeCovered, int $algorithm, int $labels, int $originalTtl, |
659 | - \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
660 | - string $signersName, string $signature): SIG |
|
659 | + \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
660 | + string $signersName, string $signature): SIG |
|
661 | 661 | { |
662 | 662 | $sig = new SIG(); |
663 | 663 | $sig->setTypeCovered($typeCovered); |