return types corrected

This commit is contained in:
HolgerHatGarKeineNode
2023-02-19 23:14:46 +01:00
parent 4cce44dfea
commit c56ab25c7d
2 changed files with 2 additions and 4 deletions

View File

@@ -25,9 +25,8 @@ class ChatMessageSentEvent implements ShouldBroadcast
/** /**
* Get the channels the event should broadcast on. * 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'); return new Channel('plebchannel');
} }

View File

@@ -25,9 +25,8 @@ class PlebLoggedInEvent implements ShouldBroadcast
/** /**
* Get the channels the event should broadcast on. * 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'); return new Channel('plebchannel');
} }