Tidying and doc fixes

This commit is contained in:
Gregory Oschwald
2013-10-21 06:18:12 -07:00
parent 234dcaff7c
commit e03b9558a9
13 changed files with 102 additions and 104 deletions
+2 -2
View File
@@ -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);
}
}
+1 -1
View File
@@ -84,7 +84,7 @@ class Country
/**
* @ignore
*/
public function __get ($attr)
public function __get($attr)
{
if ($attr != "instance" && isset($this->$attr)) {
return $this->$attr;