diff --git a/CHANGELOG.md b/CHANGELOG.md index bb1d7ec..0770308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +0.7.x (2014-0X-XX) +------------------ + +* The name attribute was missing from the RepresentedCountry class. + 0.7.0 (2014-07-22) ------------------ diff --git a/composer.json b/composer.json index 52abbfa..1a21d86 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ }, "require-dev": { "apigen/apigen": "~2.8.0", + "nette/nette": "~2.1.3", "phpunit/phpunit": "4.1.*", "satooshi/php-coveralls": "dev-master" }, diff --git a/src/GeoIp2/Record/RepresentedCountry.php b/src/GeoIp2/Record/RepresentedCountry.php index ed6e35e..0b04c31 100644 --- a/src/GeoIp2/Record/RepresentedCountry.php +++ b/src/GeoIp2/Record/RepresentedCountry.php @@ -34,7 +34,7 @@ class RepresentedCountry extends Country 'confidence', 'geonameId', 'isoCode', - 'namespace', + 'names', 'type' ); }