mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Forward properties
This commit is contained in:
@@ -33,6 +33,8 @@ class BroadcastNotification extends BaseNotification implements ShouldQueue
|
||||
*/
|
||||
public function toBroadcast($notifiable): BroadcastMessage
|
||||
{
|
||||
return new BroadcastMessage($this->data);
|
||||
return (new BroadcastMessage($this->data))
|
||||
->onConnection($this->connection)
|
||||
->onQueue($this->queue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user