add $notificationId to every broadcast notification
This commit is contained in:
1 parent
ec76ca981a
commit
9fbc09017b
10 files changed
+33
-10
No files matched your search
@@ -16,14 +16,16 @@ class EventParticipationCancelled implements ShouldBroadcastNow
|
||||
|
||||
public $userId;
|
||||
public $event;
|
||||
public $notificationId;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct($userId, Event $event)
|
||||
public function __construct($userId, Event $event, $notificationId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->event = $event;
|
||||
$this->notificationId = $notificationId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user