mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #11318 from appwrite/fix-ping
Fix: cast redi ping response to boolean
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user