Tidying and doc fixes
This commit is contained in:
@@ -113,8 +113,8 @@ class City extends Country
|
||||
|
||||
private function mostSpecificSubdivision()
|
||||
{
|
||||
return empty($this->subdivisions)?
|
||||
new \GeoIp2\Record\Subdivision(array(), $this->locales):
|
||||
return empty($this->subdivisions) ?
|
||||
new \GeoIp2\Record\Subdivision(array(), $this->locales) :
|
||||
end($this->subdivisions);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ class Country
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
public function __get ($attr)
|
||||
public function __get($attr)
|
||||
{
|
||||
if ($attr != "instance" && isset($this->$attr)) {
|
||||
return $this->$attr;
|
||||
|
||||
Reference in New Issue
Block a user