Skip to content

Commit fcd3556

Browse files
committed
fix withDelay
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent a8379d7 commit fcd3556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Events/WithDelay.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class WithDelay extends Event implements HasInnerEventInterface
3131
{
3232
public function __construct(string $eventId, public DateTimeImmutable $fireAt, public Event $innerEvent)
3333
{
34-
parent::__construct($this->innerEvent ?: Uuid::uuid7());
34+
parent::__construct($this->innerEvent->eventId ?: Uuid::uuid7());
3535
}
3636

3737
public static function forEvent(DateTimeImmutable $fireAt, Event $innerEvent): static

0 commit comments

Comments
 (0)