Fixed fulfilled promise typo (fixes #592)

This commit is contained in:
Alex Renoki 2020-11-20 15:11:03 +02:00
parent b225c5725e
commit dc91eb4db3
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class LocalChannelManager implements ChannelManager
public function unsubscribeFromAllChannels(ConnectionInterface $connection): PromiseInterface
{
if (! isset($connection->app)) {
return new FuilfilledPromise(false);
return Helpers::createFulfilledPromise(false);
}
$this->getLocalChannels($connection->app->id)