We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d757be commit 121193dCopy full SHA for 121193d
packages/event-bus/src/GenericEventBus.php
@@ -66,7 +66,7 @@ private function getCallable(array $eventHandlers): EventBusMiddlewareCallable
66
67
$callable($event);
68
69
- if (is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class) || $eventHandler->handler->handler->hasAttribute(StopsPropagation::class)) {
+ if (is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class) || $eventHandler->handler->handler?->hasAttribute(StopsPropagation::class)) {
70
break;
71
}
72
0 commit comments