src/Collection.php
public function offsetUnset($index)
    {
        $index = is_array($index) ? $index : (array)$index;
        foreach ($index as $key) {
            parent::offsetUnset($key);
        }
        return $this;
    }
public function offsetUnset($index)
    {
        $index = is_array($index) ? $index : (array)$index;
        foreach ($index as $key) {
            parent::offsetUnset($key);
        }
        return $this;
    }
Unset values from an offset or offsets

@param string|array $index Offsets to remove

@return static