Update SPOP's @method signature in phpdoc.

SPOP accepts the optional "count" argument since Redis 3.2.
This commit is contained in:
Daniele Alessandri
2016-05-24 23:14:58 +02:00
parent 51932d82e8
commit 02ed5a2f4e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ use Predis\Command\CommandInterface;
* @method $this sismember($key, $member)
* @method $this smembers($key)
* @method $this smove($source, $destination, $member)
* @method $this spop($key)
* @method $this spop($key, $count = null)
* @method $this srandmember($key, $count = null)
* @method $this srem($key, $member)
* @method $this sscan($key, $cursor, array $options = null)
+1 -1
View File
@@ -106,7 +106,7 @@ use Predis\Profile\ProfileInterface;
* @method int sismember($key, $member)
* @method array smembers($key)
* @method int smove($source, $destination, $member)
* @method string spop($key)
* @method string spop($key, $count = null)
* @method string srandmember($key, $count = null)
* @method int srem($key, $member)
* @method array sscan($key, $cursor, array $options = null)