diff --git a/src/Appwrite/PubSub/Adapter/Redis.php b/src/Appwrite/PubSub/Adapter/Redis.php index 187eb9cd95..f5218df93c 100644 --- a/src/Appwrite/PubSub/Adapter/Redis.php +++ b/src/Appwrite/PubSub/Adapter/Redis.php @@ -16,7 +16,7 @@ class Redis implements Adapter public function ping($message = null): bool { - return $this->client->ping($message); + return (bool) $this->client->ping($message); } public function subscribe($channels, $callback)