-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(AppFramework): Check for responder existence #55620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(AppFramework): Check for responder existence #55620
Conversation
Signed-off-by: provokateurin <[email protected]>
22f2df4 to
f720925
Compare
|
/backport to stable32 |
| * @param string $format | ||
| * @param \Closure $responder | ||
| * @param Closure $responder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both can be removed
| . $format . '!'); | ||
| } | ||
|
|
||
| public function isResponderRegistered(string $responder): bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SInCE is missing. Did we not have a check for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh yes 🤔
Fixes #55619
Make sure to check that the responder actually exists, before trying to use it instead of falling back to the default.