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
There was no implementation for handling callable arrays [$object, "funcName"]. Basically, the author wanted to call the function directly rather than use call_user_func.
It would be a simple change to implement, but at the same time it is also very simple to pass in an anonymous function that calls whatever other functions you want.
I was wondering if there was a particular reason why you're type hinting to \Closure instead of the less restrictive \Callable?
The text was updated successfully, but these errors were encountered: