Skip to content

Commit 849ed5b

Browse files
authored
Merge pull request #494 from BertvanHoekelen/fix-onEventReplayed-null-type
Explicitly mark variable nullable
2 parents 05cc24a + d1f8a39 commit 849ed5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Projectionist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public function isReplaying(): bool
319319
public function replay(
320320
Collection $projectors,
321321
int $startingFromEventId = 0,
322-
callable $onEventReplayed = null,
322+
?callable $onEventReplayed = null,
323323
?string $aggregateUuid = null
324324
): void {
325325
$projectors = (new EventHandlerCollection($projectors))

0 commit comments

Comments
 (0)