Automattic / Automattic/php-phone

Calling get_iso3166_entry without country_name

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
10
Forks
9
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.