Skip to content

Commit

Permalink
removed invalid negation
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebi committed Mar 27, 2024
1 parent f2e0439 commit 2345607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messenger/Handler/RefreshElementInIndexHandler.php
Expand Up @@ -28,7 +28,7 @@ public function __invoke(RefreshElementInIndex $message): void
$index = $this->indexRepository->flattenedGet($message->index);
$element = $this->resolveElement($message);

if (!$message->isEventPropagationStopped()) {
if ($message->isEventPropagationStopped()) {
PropagateChanges::stopPropagation();
}

Expand Down

0 comments on commit 2345607

Please sign in to comment.