src/BTR/RedisObjects/RedisList.php
public function offsetUnset($offset): void
    {
        if ($this->offsetExists($offset)) {
            $unique = uniqid('RedisObjects-DELETED_', true);
            // There is no serialization here for obvious reasons.
            $this->redis->lset($this->key, $offset, $unique);
            // Also, this is sadly the only way to unset a specific index.
            $this->redis->lrem($this->key, 1, $unique);
        }
    }
public function offsetUnset($offset): void
    {
        if ($this->offsetExists($offset)) {
            $unique = uniqid('RedisObjects-DELETED_', true);
            // There is no serialization here for obvious reasons.
            $this->redis->lset($this->key, $offset, $unique);
            // Also, this is sadly the only way to unset a specific index.
            $this->redis->lrem($this->key, 1, $unique);
        }
    }
{@inheritDoc}