Describe the bug
Currently if you try to use State::Build() this will fail when the state/division has a single character. e.g. Bangladesh - Dhaka
To Reproduce
Steps to reproduce the behavior:
$country = 'BD';
$state = 'C';
$meta = State::build("{$country}-{$state}")->getMeta();
This will throw:
MenaraSolutions\Geographer\Exceptions\ObjectNotFoundException
Cannot find object with id BD-C
Describe the bug
Currently if you try to use State::Build() this will fail when the state/division has a single character. e.g. Bangladesh - Dhaka
To Reproduce
Steps to reproduce the behavior:
This will throw:
MenaraSolutions\Geographer\Exceptions\ObjectNotFoundException
Cannot find object with id BD-C