fix: cast Redis ping response to boolean

This commit is contained in:
Damodar Lohani
2026-02-13 11:32:46 +00:00
parent b4421e6709
commit 5d5fd370c6
+1 -1
View File
@@ -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)