Skip to content

Commit 6e36e88

Browse files
committed
wip
1 parent dfc7a47 commit 6e36e88

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/event-bus/src/GenericEventBus.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ private function getCallable(array $eventHandlers): EventBusMiddlewareCallable
6666

6767
$callable($event);
6868

69-
if (is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class) || ($eventHandler->handler->handler ?? null)?->hasAttribute(StopsPropagation::class)) {
69+
if (
70+
is_object($event) && reflect($event)->hasAttribute(StopsPropagation::class)
71+
|| ($eventHandler->handler->handler ?? null)?->hasAttribute(StopsPropagation::class)
72+
) {
7073
break;
7174
}
7275
}

0 commit comments

Comments
 (0)