From b8188bc558412b60a932e504536020bd698049e4 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 17 Oct 2013 10:28:31 -0700 Subject: [PATCH] language code -> locale code --- src/GeoIp2/Database/Reader.php | 2 +- src/GeoIp2/Record/City.php | 2 +- src/GeoIp2/Record/Continent.php | 2 +- src/GeoIp2/Record/Country.php | 2 +- src/GeoIp2/Record/RepresentedCountry.php | 2 +- src/GeoIp2/Record/Subdivision.php | 2 +- src/GeoIp2/WebService/Client.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/GeoIp2/Database/Reader.php b/src/GeoIp2/Database/Reader.php index dd9fd91..8ba5b61 100644 --- a/src/GeoIp2/Database/Reader.php +++ b/src/GeoIp2/Database/Reader.php @@ -44,7 +44,7 @@ class Reader implements ProviderInterface * Constructor. * * @param string $filename The path to the GeoIP2 database file. - * @param array $languages List of language codes to use in name property + * @param array $languages List of locale codes to use in name property * from most preferred to least preferred. * @throws \MaxMind\Db\Reader\InvalidDatabaseException if the database * is corrupt or invalid diff --git a/src/GeoIp2/Record/City.php b/src/GeoIp2/Record/City.php index e433f2e..33e7b44 100644 --- a/src/GeoIp2/Record/City.php +++ b/src/GeoIp2/Record/City.php @@ -17,7 +17,7 @@ namespace GeoIp2\Record; * @property string $name The name of the city based on the languages list * passed to the constructor. This attribute is returned by all end points. * - * @property array $names A array map where the keys are language codes + * @property array $names A array map where the keys are locale codes * and the values are names. This attribute is returned by all end points. */ class City extends AbstractPlaceRecord diff --git a/src/GeoIp2/Record/Continent.php b/src/GeoIp2/Record/Continent.php index d805665..3553b4b 100644 --- a/src/GeoIp2/Record/Continent.php +++ b/src/GeoIp2/Record/Continent.php @@ -17,7 +17,7 @@ namespace GeoIp2\Record; * languages list passed to the constructor. This attribute is returned by * all end points. * - * @property array $names An array map where the keys are language codes + * @property array $names An array map where the keys are locale codes * and the values are names. This attribute is returned by all end points. */ class Continent extends AbstractPlaceRecord diff --git a/src/GeoIp2/Record/Country.php b/src/GeoIp2/Record/Country.php index 29533f9..bec2d20 100644 --- a/src/GeoIp2/Record/Country.php +++ b/src/GeoIp2/Record/Country.php @@ -21,7 +21,7 @@ namespace GeoIp2\Record; * @property string $name The name of the country based on the languages list * passed to the constructor. This attribute is returned by all end points. * - * @property array $names An array map where the keys are language codes and + * @property array $names An array map where the keys are locale codes and * the values are names. This attribute is returned by all end points. */ class Country extends AbstractPlaceRecord diff --git a/src/GeoIp2/Record/RepresentedCountry.php b/src/GeoIp2/Record/RepresentedCountry.php index 77ad246..94e78c7 100644 --- a/src/GeoIp2/Record/RepresentedCountry.php +++ b/src/GeoIp2/Record/RepresentedCountry.php @@ -25,7 +25,7 @@ namespace GeoIp2\Record; * @property string $name The name of the country based on the languages list * passed to the constructor. This attribute is returned by all end points. * - * @property array $names An array map where the keys are language codes and + * @property array $names An array map where the keys are locale codes and * the values are names. This attribute is returned by all end points. * * @property string $type A string indicating the type of entity that is diff --git a/src/GeoIp2/Record/Subdivision.php b/src/GeoIp2/Record/Subdivision.php index 17b433c..8863dbc 100644 --- a/src/GeoIp2/Record/Subdivision.php +++ b/src/GeoIp2/Record/Subdivision.php @@ -24,7 +24,7 @@ namespace GeoIp2\Record; * list passed to the constructor. This attribute is returned by all end * points except Country. * - * @property array $names An array map where the keys are language codes and + * @property array $names An array map where the keys are locale codes and * the values are names. This attribute is returned by all end points except * Country. */ diff --git a/src/GeoIp2/WebService/Client.php b/src/GeoIp2/WebService/Client.php index 4dcc992..651f751 100644 --- a/src/GeoIp2/WebService/Client.php +++ b/src/GeoIp2/WebService/Client.php @@ -58,7 +58,7 @@ class Client implements ProviderInterface * * @param int $userId Your MaxMind user ID * @param string $licenseKey Your MaxMind license key - * @param array $languages List of language codes to use in name property + * @param array $languages List of locale codes to use in name property * from most preferred to least preferred. * @param string $host Optional host parameter * @param object $guzzleClient Optional Guzzle client to use (to facilitate