Replies: 1 comment
-
From the docs:
You can send a PR to rename the function args, but in neither case, you should rely on them, meaning consistency is just for the looks, as function arg names are therefore essentially meaningless in the framework |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using several Str helpers and several have an option to do caseinsensitive/ignorecase options.
I write both because there is not logic in it. Some function have caseinsensitive as option
With another helper is is called ignorecase.
I like to name the vars when using the fuction, but know I have to check first with it is.
eg. Str::remove has the option ignoreCase and Str::contains has the option caseSensitive
When you mixed them up and not name them in the function call, you get the wrong results.
Would be handy to have them the same with the Str helper, so that they only use caseSensitive or ignoreCase
Beta Was this translation helpful? Give feedback.
All reactions