Skip to content

Commit

Permalink
For loop bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DWinter committed Sep 17, 2024
1 parent 087d2cc commit f770095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExcelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function applyColumnHeaders(): ExcelGenerator
$sheet = $this->worksheetType->getWorksheet();
$headerCount = count($columns);
$columnLetters = [];
for ($index = 0; $index < $headerCount; $index++) {
for ($index = 1; $index < $headerCount; $index++) {
$columnLetters[] = Coordinate::stringFromColumnIndex($index);
}

Expand Down

0 comments on commit f770095

Please sign in to comment.