Merge pull request #554 from Kolbasyatin/patch-1

Update Topic.php
This commit is contained in:
Chris Boden 2017-09-10 11:59:40 -04:00 committed by GitHub
commit d5cb2c5f19

View File

@ -38,7 +38,7 @@ class Topic implements \IteratorAggregate, \Countable {
/**
* Send a message to all the connections in this topic
* @param string $msg Payload to publish
* @param string|array $msg Payload to publish
* @param array $exclude A list of session IDs the message should be excluded from (blacklist)
* @param array $eligible A list of session Ids the message should be send to (whitelist)
* @return Topic The same Topic object to chain