Skip to content

Commit

Permalink
fix command execute
Browse files Browse the repository at this point in the history
  • Loading branch information
sakuraovq committed Jul 15, 2020
1 parent fd80b95 commit 702ab45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redis/src/Connection/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
* @method float zIncrBy(string $key, float $value, string $member)
* @method int zLexCount(string $key, int $min, int $max)
* @method array zPopMin(string $key, int $count)
* @method array zPopMax(string $key, int $count)
* @method array zPopMax(string $key, int $count)
* @method array zRange(string $key, int $start, int $end, bool $withscores = null)
* @method array zRangeByLex(string $key, int $min, int $max, int $offset = null, int $limit = null)
* @method array zRangeByScore(string $key, string $start, string $end, array $options = [])
Expand Down Expand Up @@ -394,7 +394,7 @@ public function createClusterClient(): void
public function command(string $method, array $parameters = [], bool $reconnect = false)
{
try {
if (false === method_exists($this, $method)) {
if (false === method_exists($this->client, $method)) {
throw new RedisException(
sprintf('Method(%s) is not supported!', $method)
);
Expand Down

0 comments on commit 702ab45

Please sign in to comment.