Skip to content

Commit

Permalink
Merge pull request #79 from Triplkrypl/4.0
Browse files Browse the repository at this point in the history
small readme fix
  • Loading branch information
sokil authored Oct 28, 2024
2 parents 67214c3 + e48ace2 commit 308acfc
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 @@ -321,16 +321,16 @@ $isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
$isoCodes->getCountries()->getByAlpha2('UA')->getLocalName();
```

Get localized name of country by it's alpha2 code:
Get localized name of country by it's alpha3 code:
```php
$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
$isoCodes->getCountries()->getByAlpha2('UKR')->getLocalName();
$isoCodes->getCountries()->getByAlpha3('UKR')->getLocalName();
```

Get localized name of country by it's numeric code:
```php
$isoCodes = new \Sokil\IsoCodes\IsoCodesFactory();
$isoCodes->getCountries()->getByAlpha2('804')->getLocalName();
$isoCodes->getCountries()->getByNumericCode('804')->getLocalName();
```

Get localised list of countries
Expand Down

0 comments on commit 308acfc

Please # to comment.