src/BTR/RedisObjects/RedisSet.php
public function pop($count = null)
    {
        $popped = $this->redis->spop($this->key, $count);
        if (\is_array($popped)) {
            return $this->unSerializeArray($popped);
        }

        return $this->unSerialize($popped);
    }
public function pop($count = null)
    {
        $popped = $this->redis->spop($this->key, $count);
        if (\is_array($popped)) {
            return $this->unSerializeArray($popped);
        }

        return $this->unSerialize($popped);
    }
@param null $count The amount of members to pop.

@return mixed Random member of set. Will be removed!
If $count > 1 and a valid set, the result will always be an array.