diff --git a/src/Rules/English/Inflectible.php b/src/Rules/English/Inflectible.php index a311d74..5223df3 100644 --- a/src/Rules/English/Inflectible.php +++ b/src/Rules/English/Inflectible.php @@ -150,6 +150,7 @@ public static function getIrregular(): iterable yield new Substitution(new Word('niveau'), new Word('niveaux')); yield new Substitution(new Word('nucleus'), new Word('nuclei')); yield new Substitution(new Word('numen'), new Word('numina')); + yield new Substitution(new Word('nursery'), new Word('nurseries')); yield new Substitution(new Word('oasis'), new Word('oases')); yield new Substitution(new Word('occiput'), new Word('occiputs')); yield new Substitution(new Word('octopus'), new Word('octopuses')); @@ -175,7 +176,6 @@ public static function getIrregular(): iterable yield new Substitution(new Word('trilby'), new Word('trilbys')); yield new Substitution(new Word('turf'), new Word('turfs')); yield new Substitution(new Word('valve'), new Word('valves')); - yield new Substitution(new Word('valve'), new Word('valves')); // Duplicate yield new Substitution(new Word('volcano'), new Word('volcanoes')); yield new Substitution(new Word('wave'), new Word('waves')); yield new Substitution(new Word('zombie'), new Word('zombies')); diff --git a/tests/Rules/English/EnglishFunctionalTest.php b/tests/Rules/English/EnglishFunctionalTest.php index bb37813..7f75d6f 100644 --- a/tests/Rules/English/EnglishFunctionalTest.php +++ b/tests/Rules/English/EnglishFunctionalTest.php @@ -368,6 +368,7 @@ public function dataSampleWords(): array ['yengeese', 'yengeese'], ['zombie', 'zombies'], ['|ice', '|ices'], + ['nursery', 'nurseries'], ]; }