Skip to content

Commit

Permalink
Merge pull request #494 from BertvanHoekelen/fix-onEventReplayed-null…
Browse files Browse the repository at this point in the history
…-type

Explicitly mark variable nullable
  • Loading branch information
freekmurze authored Dec 9, 2024
2 parents 05cc24a + d1f8a39 commit 849ed5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projectionist.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function isReplaying(): bool
public function replay(
Collection $projectors,
int $startingFromEventId = 0,
callable $onEventReplayed = null,
?callable $onEventReplayed = null,
?string $aggregateUuid = null
): void {
$projectors = (new EventHandlerCollection($projectors))
Expand Down

0 comments on commit 849ed5b

Please sign in to comment.