Don't use anonymous functions

Added some missing doc
This commit is contained in:
Pierre Rudloff 2017-10-02 20:29:09 +02:00
parent 70fe4cb95d
commit b0c4963ac8
2 changed files with 16 additions and 4 deletions

View file

@ -88,6 +88,11 @@ class Locale
return strtolower($this->region);
}
/**
* Get country information from locale.
*
* @return \Rinvex\Country\Country
*/
public function getCountry()
{
return country($this->getIso3166());