add $notificationId to every broadcast notification

This commit is contained in:
2026-03-19 18:09:11 +01:00
parent ec76ca981a
commit 9fbc09017b
10 changed files with 33 additions and 10 deletions
+3 -1
View File
@@ -16,16 +16,18 @@ class VolunteerAssignedToTask implements ShouldBroadcastNow
public $task;
public $event;
public $notificationId;
protected $userId;
/**
* Create a new event instance.
*/
public function __construct($userId, Task $task, Event $event)
public function __construct($userId, Task $task, Event $event, $notificationId)
{
$this->userId = $userId;
$this->task = $task;
$this->event = $event;
$this->notificationId = $notificationId;
}
/**