Skip to content

Commit

Permalink
fix: ClientCluster::flushall compatibility with redis extension
Browse files Browse the repository at this point in the history
  • Loading branch information
firnas committed Apr 22, 2020
1 parent 6144d22 commit 988b90c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/Phpredis/ClientCluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit 988b90c

Please sign in to comment.