You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have various methods where argument overloading is used for ease of use. For e.g. for RouterBuilder::scope() if the 2nd argument is a callback it's used as the 3rd argument.
The availability of named arguments and autocompleting features of today's IDEs negate the need of such loading. Removing the overloading would make the API cleaner.
CakePHP Version
6.0
The text was updated successfully, but these errors were encountered:
Description
We have various methods where argument overloading is used for ease of use. For e.g. for
RouterBuilder::scope()
if the 2nd argument is a callback it's used as the 3rd argument.The availability of named arguments and autocompleting features of today's IDEs negate the need of such loading. Removing the overloading would make the API cleaner.
CakePHP Version
6.0
The text was updated successfully, but these errors were encountered: