Skip to content

Commit

Permalink
fix: Redis::zRangeByScore & Redis::zRevRangeByScore
Browse files Browse the repository at this point in the history
The parameter $start & $end must be string!
  • Loading branch information
andiechang committed Jun 24, 2020
1 parent a01ff02 commit 00d87b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -106,12 +106,12 @@
* @method int zLexCount(string $key, int $min, int $max)
* @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, int $start, int $end, array $options = [])
* @method array zRangeByScore(string $key, string $start, string $end, array $options = [])
* @method int zRank(string $key, string $member)
* @method array zRemRangeByLex(string $key, int $min, int $max)
* @method array zRevRange(string $key, int $start, int $end, bool $withscore = null)
* @method array zRevRangeByLex(string $key, int $min, int $max, int $offset = null, int $limit = null)
* @method array zRevRangeByScore(string $key, int $start, int $end, array $options = [])
* @method array zRevRangeByScore(string $key, string $start, string $end, array $options = [])
* @method int zRevRank(string $key, string $member)
* @method float zScore(string $key, mixed $member)
* @method array zScan(string $key, int &$iterator, string $pattern = null, int $count = 0)
Expand Down
2 changes: 1 addition & 1 deletion src/redis/src/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
* @method static array zRemRangeByLex(string $key, int $min, int $max)
* @method static array zRevRange(string $key, int $start, int $end, bool $withscore = null)
* @method static array zRevRangeByLex(string $key, int $min, int $max, int $offset = null, int $limit = null)
* @method static array zRevRangeByScore(string $key, int $start, int $end, array $options = [])
* @method static array zRevRangeByScore(string $key, string $start, string $end, array $options = [])
* @method static int zRevRank(string $key, string $member)
* @method static float zScore(string $key, mixed $member)
* @method static array zScan(string $key, int &$iterator, string $pattern = null, int $count = 0)
Expand Down

0 comments on commit 00d87b6

Please sign in to comment.