From 31ef31f20386f04c9ba2d3bde1b9b1c4135738f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Br=C3=BCckner?= Date: Tue, 28 May 2024 15:32:54 +0200 Subject: [PATCH] Standardize ISO method name in README and docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the method name from 'createIteratorFromIso3166' to 'createIteratorFromISO3166' in README.md and docs/index.md. This standardizes the capitalization in the method name, ensuring consistency throughout the documentation. Signed-off-by: Frank Brückner --- README.md | 6 +++--- docs/index.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ef84d08..3bbb27a 100644 --- a/README.md +++ b/README.md @@ -53,13 +53,13 @@ by adding the [ISO 639-1 language-code](https://en.wikipedia.org/wiki/ISO_3166-2 ```php // Get the holidays for mainland france -$iterator = $factory->createIteratorFromIso3166('FR'); +$iterator = $factory->createIteratorFromISO3166('FR'); // Get the holidays for the french overseas-department La Reunion -$iterator = $factory->createIteratorFromIso3166('FR-RE'); +$iterator = $factory->createIteratorFromISO3166('FR-RE'); // Get the dutch holidays for belgium -$iterator = $factory->createIteratorFromIso3166('fr_BE'); +$iterator = $factory->createIteratorFromISO3166('fr_BE'); ``` ## Available Countries diff --git a/docs/index.md b/docs/index.md index 45a8b4a..f3a7fc2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -43,13 +43,13 @@ by adding the [ISO 639-1 language-code](https://en.wikipedia.org/wiki/ISO_3166-2 ```php // Get the holidays for mainland france -$iterator = $factory->createIteratorFromIso3166('FR'); +$iterator = $factory->createIteratorFromISO3166('FR'); // Get the holidays for the french overseas-department La Reunion -$iterator = $factory->createIteratorFromIso3166('FR-RE'); +$iterator = $factory->createIteratorFromISO3166('FR-RE'); // Get the dutch holidays for belgium -$iterator = $factory->createIteratorFromIso3166('fr_BE'); +$iterator = $factory->createIteratorFromISO3166('fr_BE'); ``` ## Available Countries