Skip to content

Commit

Permalink
improve mode check for readable
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Feb 20, 2024
1 parent c8b62c6 commit 208e55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projection/Projectionist/DefaultProjectionist.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ private function fastForwardFromNowProjections(array $projections): array
continue;
}

if ($projection->runMode() !== RunMode::FromNow) {
if ($projection->runMode() === RunMode::FromBeginning || $projection->runMode() === RunMode::Once) {
$forwardedProjections[] = $projection;

continue;
Expand Down

0 comments on commit 208e55b

Please sign in to comment.