mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-07 10:05:41 +02:00
Fix when using RedisCluster (#533)
This commit is contained in:
@ -57,7 +57,7 @@ class RedisStorage implements StorageInterface
|
|||||||
{
|
{
|
||||||
$results = [];
|
$results = [];
|
||||||
$cursor = "0";
|
$cursor = "0";
|
||||||
$isPhpRedis = get_class($this->redis) === 'Redis';
|
$isPhpRedis = get_class($this->redis) === 'Redis' || get_class($this->redis) === 'RedisCluster';
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if ($isPhpRedis) {
|
if ($isPhpRedis) {
|
||||||
|
Reference in New Issue
Block a user