language code -> locale code

This commit is contained in:
Gregory Oschwald 2013-10-17 10:28:31 -07:00
parent 8f16ed6115
commit b8188bc558
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.
*/

View File

@ -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