Completed
Push — master ( 2414c3...4294e7 )
by Sam
02:10
created
src/Resolver/JsonResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Resolver/SystemResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.