Completed
Push — master ( b1076e...dd8ca6 )
by Antonio Carlos
06:19
created
src/update/Timezones.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -115,9 +115,9 @@  discard block
 block discarded – undo
115 115
         })
116 116
         ->mapWithKeys(function ($item, $cca2) {
117 117
             $fields = [
118
-               ['cca2', 'cca2'],
119
-               ['name.common', 'name'],
120
-               ['name.official', 'name'],
118
+                ['cca2', 'cca2'],
119
+                ['name.common', 'name'],
120
+                ['name.official', 'name'],
121 121
             ];
122 122
 
123 123
             [$country] = $this->updater->findByFields($this->updater->getCountries(), $item, $fields, 'cca2');
@@ -127,11 +127,11 @@  discard block
 block discarded – undo
127 127
             }
128 128
 
129 129
             return [
130
-               $country->cca3 => [
131
-                   'cca2' => $country->cca2,
132
-                   'cca3' => $country->cca3,
133
-                   'name' => $item['name'],
134
-               ],
130
+                $country->cca3 => [
131
+                    'cca2' => $country->cca2,
132
+                    'cca3' => $country->cca3,
133
+                    'name' => $item['name'],
134
+                ],
135 135
             ];
136 136
         })->map(function ($country) use ($zones, $abbreviations) {
137 137
             $country['timezones'] = $zones->where('country_code', $country['cca2'])->mapWithKeys(function ($zone) use ($abbreviations, $country) {
Please login to merge, or discard this patch.