Completed
Pull Request — master (#110)
by Sang
05:54
created
src/update/Timezones.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -101,9 +101,9 @@  discard block
 block discarded – undo
101 101
         })
102 102
         ->mapWithKeys(function ($item, $cca2) {
103 103
             $fields = [
104
-               ['cca2', 'cca2'],
105
-               ['name.common', 'name'],
106
-               ['name.official', 'name'],
104
+                ['cca2', 'cca2'],
105
+                ['name.common', 'name'],
106
+                ['name.official', 'name'],
107 107
             ];
108 108
 
109 109
             list($country) = $this->updater->findByFields($this->updater->getCountries(), $item, $fields, 'cca2');
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
             }
114 114
 
115 115
             return [
116
-               $country->cca3 => [
117
-                   'cca2' => $country->cca2,
118
-                   'cca3' => $country->cca3,
119
-                   'name' => $item['name'],
120
-               ],
116
+                $country->cca3 => [
117
+                    'cca2' => $country->cca2,
118
+                    'cca3' => $country->cca3,
119
+                    'name' => $item['name'],
120
+                ],
121 121
             ];
122 122
         })->map(function ($country) use ($zones, $abbreviations) {
123 123
             $country['timezones'] = $zones->where('country_code', $country['cca2'])->mapWithKeys(function ($zone) use ($abbreviations, $country) {
Please login to merge, or discard this patch.