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 dfc7a47 commit 6e36e88Copy full SHA for 6e36e88
packages/event-bus/src/GenericEventBus.php
@@ -66,7 +66,10 @@ private function getCallable(array $eventHandlers): EventBusMiddlewareCallable
66
67
$callable($event);
68
69
- if (is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class) || ($eventHandler->handler->handler ?? null)?->hasAttribute(StopsPropagation::class)) {
+ if (
70
+ is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class)
71
+ || ($eventHandler->handler->handler ?? null)?->hasAttribute(StopsPropagation::class)
72
+ ) {
73
break;
74
}
75
0 commit comments