Skip to content

Commit

Permalink
return type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtoprak committed Feb 24, 2022
1 parent 6304bdf commit 846a2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Seeders/LCSCSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function run()

$this->info('Fetching countries from remote source...['.$fileSize.']');

$countries = $this->remoteGet($remoteJson);
$countries = json_decode($this->remoteGet($remoteJson));
//$countries = json_decode(file_get_contents(__DIR__ . "/../countries+states+cities.json"));
foreach ($countries as $countryData) {
$country = Country::query()->updateOrCreate(
Expand Down

0 comments on commit 846a2f2

Please sign in to comment.