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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Registering an invokable object (Action::add('init', new Handler)) without an argument count threw a TypeError, and a static method written as a string ('Handler::run') threw CallbackAnalysisFailedException: the parameters were counted with ReflectionFunction, which reads neither. They are now read from the object's __invoke() and from the named static method.
An asynchronous handler whose descriptor names a private or protected method was retried as many times as tries allowed, each attempt failing the same way with The handler of … is not callable. Resolving the descriptor now fails at once with an UnresolvableHandler that says the method is not public.