This commit is contained in:
freek 2018-11-22 00:14:56 +01:00
parent fd534d3d23
commit bccc53896a
1 changed files with 2 additions and 8 deletions

View File

@ -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' => [