@@ -255,8 +255,8 @@ |
||
| 255 | 255 | * @return RRSIG |
| 256 | 256 | */ |
| 257 | 257 | public static function Rrsig($typeCovered, $algorithm, $labels, $originalTtl, |
| 258 | - $signatureExpiration, $signatureInception, $keyTag, |
|
| 259 | - $signersName, $signature) |
|
| 258 | + $signatureExpiration, $signatureInception, $keyTag, |
|
| 259 | + $signersName, $signature) |
|
| 260 | 260 | { |
| 261 | 261 | $rdata = new RRSIG(); |
| 262 | 262 | $rdata->setTypeCovered($typeCovered); |
@@ -148,7 +148,7 @@ |
||
| 148 | 148 | |
| 149 | 149 | $totalError = 0; |
| 150 | 150 | |
| 151 | - $incrementError = function (bool $errorCondition, int $errorOrdinal) use (&$totalError) { |
|
| 151 | + $incrementError = function(bool $errorCondition, int $errorOrdinal) use (&$totalError) { |
|
| 152 | 152 | $totalError += $errorCondition ? $errorOrdinal : 0; |
| 153 | 153 | }; |
| 154 | 154 | |
@@ -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 | |
@@ -157,11 +157,11 @@ |
||
| 157 | 157 | $loc = new ResourceRecord(); |
| 158 | 158 | $loc->setName('canberra'); |
| 159 | 159 | $loc->setRdata(Factory::Loc( |
| 160 | - -35.3075, //Lat |
|
| 161 | - 149.1244, //Lon |
|
| 162 | - 500, //Alt |
|
| 163 | - 20.12, //Size |
|
| 164 | - 200.3, //HP |
|
| 160 | + -35.3075, //Lat |
|
| 161 | + 149.1244, //Lon |
|
| 162 | + 500, //Alt |
|
| 163 | + 20.12, //Size |
|
| 164 | + 200.3, //HP |
|
| 165 | 165 | 300.1 //VP |
| 166 | 166 | )); |
| 167 | 167 | $loc->setComment('This is Canberra'); |
@@ -86,11 +86,11 @@ |
||
| 86 | 86 | $loc = new ResourceRecord(); |
| 87 | 87 | $loc->setName('canberra'); |
| 88 | 88 | $loc->setRdata(Factory::Loc( |
| 89 | - -35.3075, //Lat |
|
| 90 | - 149.1244, //Lon |
|
| 91 | - 500, //Alt |
|
| 92 | - 20.12, //Size |
|
| 93 | - 200.3, //HP |
|
| 89 | + -35.3075, //Lat |
|
| 90 | + 149.1244, //Lon |
|
| 91 | + 500, //Alt |
|
| 92 | + 20.12, //Size |
|
| 93 | + 200.3, //HP |
|
| 94 | 94 | 300.1 //VP |
| 95 | 95 | )); |
| 96 | 96 | $loc->setComment('This is Canberra'); |