Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling get_iso3166_entry without country_name #3

Open
mjangda opened this issue Aug 14, 2015 · 0 comments
Open

Calling get_iso3166_entry without country_name #3

mjangda opened this issue Aug 14, 2015 · 0 comments

Comments

@mjangda
Copy link
Member

mjangda commented Aug 14, 2015

Calling get_iso3166_entry( '' ) returns $data[0]. It's not obvious when you're looking at the method that it's supposed to return the entry for US (as the default case). How can we clarify this or make it more obvious?

southp added a commit that referenced this issue Aug 16, 2015
$country_name is given is too vague. Make it self-explanatory by cache
the value first.

This closes issue #3.
southp added a commit that referenced this issue Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant