|
@@ -148,7 +148,7 @@ discard block |
|
|
block discarded – undo |
|
148
|
148
|
{ |
|
149
|
149
|
$this->countriesJson = $this->loadCountriesJson(); |
|
150
|
150
|
|
|
151
|
|
- $overload = $this->helper->loadJsonFiles($this->helper->dataDir('countries/overload'))->mapWithKeys(function ($country, $code) { |
|
|
151
|
+ $overload = $this->helper->loadJsonFiles($this->helper->dataDir('countries/overload'))->mapWithKeys(function($country, $code) { |
|
152
|
152
|
return [Str::upper($code) => $country]; |
|
153
|
153
|
}); |
|
154
|
154
|
|
|
@@ -207,11 +207,11 @@ discard block |
|
|
block discarded – undo |
|
207
|
207
|
*/ |
|
208
|
208
|
public function currencies() |
|
209
|
209
|
{ |
|
210
|
|
- $currencies = $this->helper->loadJsonFiles($this->helper->dataDir('currencies/default'))->mapWithKeys(function ($country, $code) { |
|
|
210
|
+ $currencies = $this->helper->loadJsonFiles($this->helper->dataDir('currencies/default'))->mapWithKeys(function($country, $code) { |
|
211
|
211
|
return [upper($code) => $country]; |
|
212
|
212
|
}); |
|
213
|
213
|
|
|
214
|
|
- $overload = $this->helper->loadJsonFiles($this->helper->dataDir('currencies/overload'))->mapWithKeys(function ($country, $code) { |
|
|
214
|
+ $overload = $this->helper->loadJsonFiles($this->helper->dataDir('currencies/overload'))->mapWithKeys(function($country, $code) { |
|
215
|
215
|
return [upper($code) => $country]; |
|
216
|
216
|
}); |
|
217
|
217
|
|
Please login to merge, or discard this patch.