Skip to content

Commit 44b4a0f

Browse files
authored
Update the example doc to include the event, not the listener (#9109)
1 parent 82c64e8 commit 44b4a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ If you would like to define the listener's queue connection, queue name, or dela
330330
/**
331331
* Get the number of seconds before the job should be processed.
332332
*/
333-
public function withDelay(SendShipmentNotification $event): int
333+
public function withDelay(OrderShipped $event): int
334334
{
335335
return $event->highPriority ? 0 : 60;
336336
}

0 commit comments

Comments
 (0)