diff --git a/src/ClientContextInterface.php b/src/ClientContextInterface.php index 41e81255..a01961a4 100644 --- a/src/ClientContextInterface.php +++ b/src/ClientContextInterface.php @@ -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) diff --git a/src/ClientInterface.php b/src/ClientInterface.php index a7410e99..893e5365 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -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)