This commit is contained in:
freek 2018-12-01 11:52:47 +01:00
parent 5eb2251b01
commit 81bbf83aa5
1 changed files with 3 additions and 3 deletions

View File

@ -6,12 +6,12 @@ use Ratchet\ConnectionInterface;
class ChannelManager class ChannelManager
{ {
/** @var array */
protected $channels = [];
/** @var string */ /** @var string */
protected $appId; protected $appId;
/** @var array */
protected $channels = [];
public function findOrCreate(string $appId, string $channelId): Channel public function findOrCreate(string $appId, string $channelId): Channel
{ {
if (!isset($this->channels[$appId][$channelId])) { if (!isset($this->channels[$appId][$channelId])) {