@@ -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 |
@@ -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 |
@@ -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 |