Skip to content

Commit

Permalink
Fixed some typos in the examples in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Brecht-Precht committed Mar 16, 2016
1 parent 5ab287b commit 0034d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ $iso3166Country = Iso3166CountryInformation::getByIso3166Numeric(276);
#### Get info for the ISO3166-2 country code 'de' (Germany)

````{php}
$iso3166Country = Iso3166CountryInformation::getByIso3166_2('de');
$iso3166Country = Iso3166CountryInformation::getByIso3166v2('de');
````

#### Get info for the ISO3166 top level domain 'de' (Germany)
Expand Down Expand Up @@ -212,7 +212,7 @@ $countryExists = Iso3166CountryInformation::validateIso3166Numeric(276);
#### Whether the ISO3166-2 country code 'de' exists

````{php}
$countryExists = Iso3166CountryInformation::validateIso3166_2('de');
$countryExists = Iso3166CountryInformation::validateIso3166v2('de');
````

#### Whether the ISO3166 top level domain 'de' exists
Expand Down Expand Up @@ -268,7 +268,7 @@ $country->loadByIso3166CountryInformation($utopia);
$iso3166Alpha2 = $country->getIso3166Alpha2CountryCode();
$iso3166Alpha3 = $country->getIso3166Alpha3CountryCode();
$iso3166Numeric = $country->getIso3166NumericCountryCode();
$iso3166_2 = $country->getIso31662CountryCode();
$iso3166_2 = $country->getIso3166v2CountryCode();
$toplevelDomain = $country->getToplevelDomain();
$unitedNationsIdentifier = $country->getUnitedNationsId();
$name = $country->getName();
Expand Down

0 comments on commit 0034d33

Please sign in to comment.