@@ -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 | |
@@ -679,8 +679,8 @@ |
||
| 679 | 679 | * @return SIG |
| 680 | 680 | */ |
| 681 | 681 | public static function SIG(string $typeCovered, int $algorithm, int $labels, int $originalTtl, |
| 682 | - \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
| 683 | - string $signersName, string $signature): SIG |
|
| 682 | + \DateTime $signatureExpiration, \DateTime $signatureInception, int $keyTag, |
|
| 683 | + string $signersName, string $signature): SIG |
|
| 684 | 684 | { |
| 685 | 685 | $sig = new SIG(); |
| 686 | 686 | $sig->setTypeCovered($typeCovered); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function binaryToHex(string $rdata): string |
| 32 | 32 | { |
| 33 | - $hex = array_map(function ($char) { |
|
| 33 | + $hex = array_map(function($char) { |
|
| 34 | 34 | return sprintf('0x%02x', ord($char)); |
| 35 | 35 | }, str_split($rdata)); |
| 36 | 36 | |