mirror of
https://github.com/predis/predis.git
synced 2026-08-31 04:35:05 +00:00
Update SPOP's @method signature in phpdoc.
SPOP accepts the optional "count" argument since Redis 3.2.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user