Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Str::of('children')->plural() outputs 'childrens' #54429

Open
Jelte-ten-Holt opened this issue Jan 31, 2025 · 1 comment
Open

Str::of('children')->plural() outputs 'childrens' #54429

Jelte-ten-Holt opened this issue Jan 31, 2025 · 1 comment

Comments

@Jelte-ten-Holt
Copy link

Laravel Version

11.33.2

PHP Version

8.3.16

Database Driver & Version

No response

Description

The title largely tells the story.

pluralizing 'child' works correctly but pluralizing 'children' turns it into 'childrens'.

Stupid English and their uncommon nouns. Perhaps we should just start demanding everybody calls them 'childs' from now on.

Steps To Reproduce

Str::of('children')->plural();

@crynobone
Copy link
Member

I believe this is a limitation of doctrine/inflector#239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants