From bccc53896af679aaff1bf1849c50700d77203228 Mon Sep 17 00:00:00 2001 From: freek Date: Thu, 22 Nov 2018 00:14:56 +0100 Subject: [PATCH] nitpicks --- src/LaravelEcho/Pusher/Channels/PresenceChannel.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/LaravelEcho/Pusher/Channels/PresenceChannel.php b/src/LaravelEcho/Pusher/Channels/PresenceChannel.php index d8f766b..14233c0 100644 --- a/src/LaravelEcho/Pusher/Channels/PresenceChannel.php +++ b/src/LaravelEcho/Pusher/Channels/PresenceChannel.php @@ -8,11 +8,8 @@ class PresenceChannel extends Channel { protected $subscriptions = []; - /** + /* * @link https://pusher.com/docs/pusher_protocol#presence-channel-events - * - * @param ConnectionInterface $connection - * @param $payload */ public function subscribe(ConnectionInterface $connection, $payload) { @@ -42,10 +39,7 @@ class PresenceChannel extends Channel //TODO: send member_removed message back to client, and broadcast to everyone on channel } - /** - * @return array - */ - protected function getChannelData() + protected function getChannelData(): array { return [ 'presence' => [