Skip to content

Commit

Permalink
small readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Triplkrypl committed Oct 28, 2024
1 parent 67214c3 commit e48ace2
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 e48ace2

Please # to comment.