nnjeim / world

A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
MIT License
737 stars 104 forks source link

Problem after update #83

Closed bobitza closed 4 months ago

bobitza commented 4 months ago

Describe the bug After update package, i get this error when get the countries: Nnjeim\World\Models\Country::getConnectionName(): Return value must be of type string, null returned image

To Reproduce

use Nnjeim\World\World;

dd(World::countries());

Expected behavior To get all countries

bobitza commented 4 months ago

Yea... i found the problem, you updated config/world.php ... i deleted and re execute command: php artisan vendor:publish --tag=world and now it's working