From a9fa7194aa48ecfc472af2a5ddcb3d1cdfc64a56 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Wed, 6 Aug 2014 06:47:50 -0700 Subject: [PATCH] Fixed typo in attribute name (Fixes #20) --- CHANGELOG.md | 5 +++++ composer.json | 1 + src/GeoIp2/Record/RepresentedCountry.php | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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' ); }