Skip to content

Empty sheet creates invalid xlsx file #372

@atymic

Description

@atymic

If you try to export an empty sheet, we end up with a invalid XLSX file.
File is attached that is produced

 $exporter = new FastExcel(new SheetCollection([
                'A' => collect([['a' => 'b']]),
                'B' => collect(),
            ]

failed.xlsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions