Skip to content

Commit f770095

Browse files
author
DWinter
committed
For loop bugfix
1 parent 087d2cc commit f770095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExcelGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public function applyColumnHeaders(): ExcelGenerator
291291
$sheet = $this->worksheetType->getWorksheet();
292292
$headerCount = count($columns);
293293
$columnLetters = [];
294-
for ($index = 0; $index < $headerCount; $index++) {
294+
for ($index = 1; $index < $headerCount; $index++) {
295295
$columnLetters[] = Coordinate::stringFromColumnIndex($index);
296296
}
297297

0 commit comments

Comments
 (0)