@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | protected function processZone(array $zone): array |
51 | 51 | { |
52 | - $parent = rtrim($zone['domain'], '.').'.'; |
|
52 | + $parent = rtrim($zone['domain'], '.') . '.'; |
|
53 | 53 | $defaultTtl = $zone['default-ttl']; |
54 | 54 | $rrs = $zone['resource-records']; |
55 | 55 | $resourceRecords = []; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | protected function isLegacyFormat(array $zone): bool |
80 | 80 | { |
81 | - $keys = array_map(function ($value) { |
|
81 | + $keys = array_map(function($value) { |
|
82 | 82 | return strtolower($value); |
83 | 83 | }, array_keys($zone)); |
84 | 84 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | { |
97 | 97 | $resourceRecords = []; |
98 | 98 | foreach ($zones as $domain => $types) { |
99 | - $domain = rtrim($domain, '.').'.'; |
|
99 | + $domain = rtrim($domain, '.') . '.'; |
|
100 | 100 | foreach ($types as $type => $data) { |
101 | 101 | $data = (array) $data; |
102 | 102 | $type = RecordTypeEnum::getTypeFromName($type); |
@@ -149,7 +149,7 @@ |
||
149 | 149 | */ |
150 | 150 | private function IANA2PHP(int $type): int |
151 | 151 | { |
152 | - $constantName = 'DNS_'.RecordTypeEnum::getName($type); |
|
152 | + $constantName = 'DNS_' . RecordTypeEnum::getName($type); |
|
153 | 153 | if (!defined($constantName)) { |
154 | 154 | throw new UnsupportedTypeException(sprintf('Record type "%d" is not a supported type.', $type)); |
155 | 155 | } |