src/BTR/RedisObjects/RedisList.php
public function offsetSet($offset, $value): void
    {
        if ($value === null) {
            $this->offsetUnset($offset);
        }
        if ($offset === null) {
            $this->rpush($value);
        } elseif (\is_int($offset)) {
            $this->set($offset, $value);
        }
    }
public function offsetSet($offset, $value): void
    {
        if ($value === null) {
            $this->offsetUnset($offset);
        }
        if ($offset === null) {
            $this->rpush($value);
        } elseif (\is_int($offset)) {
            $this->set($offset, $value);
        }
    }
{@inheritDoc}