Skip to content

Commit d592b8e

Browse files
authored
Merge pull request #1877 from ThanasisMpalatsoukas/patch-1
Unused variables $rows, $cols
2 parents 9e322dd + 2c7a306 commit d592b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/Sample_09_Tables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
$section->addText('Basic table', $header);
1818

1919
$table = $section->addTable();
20-
for ($r = 1; $r <= 8; $r++) {
20+
for ($r = 1; $r <= $rows; $r++) {
2121
$table->addRow();
22-
for ($c = 1; $c <= 5; $c++) {
22+
for ($c = 1; $c <= $cols; $c++) {
2323
$table->addCell(1750)->addText("Row {$r}, Cell {$c}");
2424
}
2525
}

0 commit comments

Comments
 (0)