Skip to content

Commit ce64f20

Browse files
Add missing namespace declaration to event example (#10351)
1 parent 13a0af1 commit ce64f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

broadcasting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ If you would like to broadcast your event using the `sync` queue instead of the
571571
```php
572572
<?php
573573

574+
namespace App\Events;
575+
574576
use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow;
575577

576578
class OrderShipmentStatusUpdated implements ShouldBroadcastNow

0 commit comments

Comments
 (0)