inflector icon indicating copy to clipboard operation
inflector copied to clipboard

Singularization problem (receives)

Open gordonhung opened this issue 5 years ago • 2 comments

Hi all,

Just found a problem when I use Laravel:

Str::singular('receives') ==> receife

And the library use 'doctrine/inflector' so sumit an issue here.

Sorry that I am not family with submit issues, please correct me if my format is not good.

Thanks

gordonhung avatar May 14 '19 15:05 gordonhung

@jwage Is this even a legitimate bug? I don't think Inflector is meant to handle verbs.

garrettw avatar May 14 '19 16:05 garrettw

Ya, you are right. It would probably be an enhancement to handle verbs with a new api.

jwage avatar May 14 '19 16:05 jwage