From 988b90c8d3b026a7e45aa07064a9fb69676be781 Mon Sep 17 00:00:00 2001 From: firnas Date: Wed, 22 Apr 2020 19:47:16 +0200 Subject: [PATCH] fix: ClientCluster::flushall compatibility with redis extension --- Client/Phpredis/ClientCluster.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/Phpredis/ClientCluster.php b/Client/Phpredis/ClientCluster.php index 8c5e2cb0..42767aa4 100644 --- a/Client/Phpredis/ClientCluster.php +++ b/Client/Phpredis/ClientCluster.php @@ -893,9 +893,9 @@ public function flushDB($key_or_address, $async = null) /** * {@inheritdoc} */ - public function flushAll(...$args) + public function flushAll($key_or_address, $async = NULL) { - return $this->call('flushAll', $args); + return $this->call('flushAll', func_get_args()); } /**