Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Cells.php
public function removeRow($row)
    {
        foreach ($this->getCoordinates() as $coord) {
            sscanf($coord, '%[A-Z]%d', $c, $r);
            if ($r == $row) {
                $this->delete($coord);
            }
        }
    }
public function removeRow($row)
    {
        foreach ($this->getCoordinates() as $coord) {
            sscanf($coord, '%[A-Z]%d', $c, $r);
            if ($r == $row) {
                $this->delete($coord);
            }
        }
    }
Remove a row, deleting all cells in that row.

@param string $row Row number to remove