various improvements
This commit is contained in:
1 parent
102e17159c
commit
4d1d1c1e87
19 files changed
+90
-112
No files matched your search
@@ -111,7 +111,6 @@ class WorksheetManager implements WorksheetManagerInterface
|
||||
public function addRow(Worksheet $worksheet, Row $row)
|
||||
{
|
||||
$cells = $row->getCells();
|
||||
$cellsCount = count($cells);
|
||||
$rowStyle = $row->getStyle();
|
||||
|
||||
$data = '<table:table-row table:style-name="ro1">';
|
||||
@@ -119,7 +118,7 @@ class WorksheetManager implements WorksheetManagerInterface
|
||||
$currentCellIndex = 0;
|
||||
$nextCellIndex = 1;
|
||||
|
||||
for ($i = 0; $i < $cellsCount; $i++) {
|
||||
for ($i = 0; $i < $row->getNumCells(); $i++) {
|
||||
/** @var Cell $cell */
|
||||
$cell = $cells[$currentCellIndex];
|
||||
/** @var Cell|null $nextCell */
|
||||
|
||||
Reference in new issue
Block a user