Fixed fulfilled promise typo (fixes #592)
This commit is contained in:
parent
b225c5725e
commit
dc91eb4db3
|
|
@ -160,7 +160,7 @@ class LocalChannelManager implements ChannelManager
|
||||||
public function unsubscribeFromAllChannels(ConnectionInterface $connection): PromiseInterface
|
public function unsubscribeFromAllChannels(ConnectionInterface $connection): PromiseInterface
|
||||||
{
|
{
|
||||||
if (! isset($connection->app)) {
|
if (! isset($connection->app)) {
|
||||||
return new FuilfilledPromise(false);
|
return Helpers::createFulfilledPromise(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->getLocalChannels($connection->app->id)
|
$this->getLocalChannels($connection->app->id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue