mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
return types corrected
This commit is contained in:
@@ -25,9 +25,8 @@ class ChatMessageSentEvent implements ShouldBroadcast
|
||||
/**
|
||||
* Get the channels the event should broadcast on.
|
||||
*
|
||||
* @return \Illuminate\Broadcasting\Channel|array
|
||||
*/
|
||||
public function broadcastOn(): array
|
||||
public function broadcastOn(): \Illuminate\Broadcasting\Channel|array
|
||||
{
|
||||
return new Channel('plebchannel');
|
||||
}
|
||||
|
||||
@@ -25,9 +25,8 @@ class PlebLoggedInEvent implements ShouldBroadcast
|
||||
/**
|
||||
* Get the channels the event should broadcast on.
|
||||
*
|
||||
* @return \Illuminate\Broadcasting\Channel|array
|
||||
*/
|
||||
public function broadcastOn(): array
|
||||
public function broadcastOn(): \Illuminate\Broadcasting\Channel|array
|
||||
{
|
||||
return new Channel('plebchannel');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user