From dc91eb4db37a33a2aeb220b41e41e287a95282f8 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Fri, 20 Nov 2020 15:11:03 +0200 Subject: [PATCH] Fixed fulfilled promise typo (fixes #592) --- src/ChannelManagers/LocalChannelManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChannelManagers/LocalChannelManager.php b/src/ChannelManagers/LocalChannelManager.php index ad01f7a..919a239 100644 --- a/src/ChannelManagers/LocalChannelManager.php +++ b/src/ChannelManagers/LocalChannelManager.php @@ -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)