nitpicks
This commit is contained in:
parent
fd534d3d23
commit
bccc53896a
|
|
@ -8,11 +8,8 @@ class PresenceChannel extends Channel
|
||||||
{
|
{
|
||||||
protected $subscriptions = [];
|
protected $subscriptions = [];
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* @link https://pusher.com/docs/pusher_protocol#presence-channel-events
|
* @link https://pusher.com/docs/pusher_protocol#presence-channel-events
|
||||||
*
|
|
||||||
* @param ConnectionInterface $connection
|
|
||||||
* @param $payload
|
|
||||||
*/
|
*/
|
||||||
public function subscribe(ConnectionInterface $connection, $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
|
//TODO: send member_removed message back to client, and broadcast to everyone on channel
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
protected function getChannelData(): array
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
protected function getChannelData()
|
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'presence' => [
|
'presence' => [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue