Skip to content

Commit d1ce388

Browse files
committed
Add reference to Notification clicked class
1 parent f9febd9 commit d1ce388

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Events/Notifications/NotificationClicked.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class NotificationClicked implements ShouldBroadcastNow
1212
{
1313
use Dispatchable, InteractsWithSockets, SerializesModels;
1414

15+
public function __construct(public string $reference, public string $event) {}
16+
1517
public function broadcastOn()
1618
{
1719
return [

0 commit comments

Comments
 (0)