We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8379d7 commit fcd3556Copy full SHA for fcd3556
1 file changed
src/Events/WithDelay.php
@@ -31,7 +31,7 @@ class WithDelay extends Event implements HasInnerEventInterface
31
{
32
public function __construct(string $eventId, public DateTimeImmutable $fireAt, public Event $innerEvent)
33
34
- parent::__construct($this->innerEvent ?: Uuid::uuid7());
+ parent::__construct($this->innerEvent->eventId ?: Uuid::uuid7());
35
}
36
37
public static function forEvent(DateTimeImmutable $fireAt, Event $innerEvent): static
0 commit comments