From 5d5fd370c680bd4a0a5d986e1325555651e1d978 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Fri, 13 Feb 2026 11:32:46 +0000 Subject: [PATCH] fix: cast Redis ping response to boolean --- src/Appwrite/PubSub/Adapter/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)