Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Mar 20, 2024
1 parent 5d10ec7 commit ec80e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Support/RedisAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ protected function handle(array $args): mixed
protected function run(array $args): mixed
{
return match (true) {
$this->client() instanceof PhpRedis,
$this->client() instanceof PhpRedisCluster => $this->client()->rawCommand(...$args),
$this->client() instanceof PhpRedis => $this->client()->rawCommand(...$args),
$this->client() instanceof PhpRedisCluster => $this->client()->rawCommand('redis-node-0', ...$args),
$this->client() instanceof Predis,
$this->client() instanceof Pipeline => $this->client()->executeCommand(RawCommand::create(...$args)),
};
Expand Down

0 comments on commit ec80e79

Please sign in to comment.