Procházet zdrojové kódy

Merge remote-tracking branch 'github/pr/333'

Daniele Alessandri před 8 roky
rodič
revize
f0b3014cb4

+ 1 - 0
src/ClientContextInterface.php

@@ -121,6 +121,7 @@ use Predis\Command\CommandInterface;
  * @method $this zscore($key, $member)
  * @method $this zscan($key, $cursor, array $options = null)
  * @method $this zrangebylex($key, $start, $stop, array $options = null)
+ * @method $this zrevrangebylex($key, $start, $stop, array $options = null)
  * @method $this zremrangebylex($key, $min, $max)
  * @method $this zlexcount($key, $min, $max)
  * @method $this pfadd($key, array $elements)

+ 1 - 0
src/ClientInterface.php

@@ -129,6 +129,7 @@ use Predis\Profile\ProfileInterface;
  * @method string zscore($key, $member)
  * @method array  zscan($key, $cursor, array $options = null)
  * @method array  zrangebylex($key, $start, $stop, array $options = null)
+ * @method array  zrevrangebylex($key, $start, $stop, array $options = null)
  * @method int    zremrangebylex($key, $min, $max)
  * @method int    zlexcount($key, $min, $max)
  * @method int    pfadd($key, array $elements)

+ 5 - 0
src/Command/ZSetReverseRangeByLex.php

@@ -11,6 +11,11 @@
 
 namespace Predis\Command;
 
+/**
+ * @link http://redis.io/commands/zrevrangebylex
+ *
+ * @author Daniele Alessandri <suppakilla@gmail.com>
+ */
 class ZSetReverseRangeByLex extends ZSetRangeByLex
 {
     /**