Completed
Push — master ( fe980b...b1076e )
by Antonio Carlos
10:22
created
src/package/Data/Repository.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace PragmaRX\Countries\Package\Data;
4 4
 
5 5
 use IlluminateAgnostic\Str\Support\Str;
6
+use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
6 7
 use PragmaRX\Countries\Package\Services\Helper;
7 8
 use PragmaRX\Countries\Package\Services\Hydrator;
8 9
 use Psr\SimpleCache\CacheInterface as CacheContract;
9
-use PragmaRX\Countries\Package\Services\Cache\Service as Cache;
10 10
 
11 11
 class Repository
12 12
 {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.