1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-06-25 20:23:46 +02:00

Fix when using RedisCluster ()

This commit is contained in:
Razvan Aurariu
2023-04-30 08:43:14 +03:00
committed by GitHub
parent ea5bfc41e5
commit 293d02c78f

@ -57,7 +57,7 @@ class RedisStorage implements StorageInterface
{
$results = [];
$cursor = "0";
$isPhpRedis = get_class($this->redis) === 'Redis';
$isPhpRedis = get_class($this->redis) === 'Redis' || get_class($this->redis) === 'RedisCluster';
do {
if ($isPhpRedis) {