Skip to content

Commit

Permalink
Update HtmlPhpExcel.php
Browse files Browse the repository at this point in the history
Fixed errors from PHP CS Fixer: no_trailing_whitespace, no_whitespace_in_blank_line
  • Loading branch information
JurajG007 authored Feb 16, 2024
1 parent a83f054 commit beee49e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/HtmlPhpExcel/HtmlPhpExcel.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ private function createExcel(): void
{
// Remove 1st sheet created automatically with new excel
$this->excel->removeSheet(1);

// Loop over all tables in document
foreach($this->document->getTables() as $table) {

// Handle worksheets
$sheet = $this->excel->makeSheet($table->getAttribute('_excel-name'));
$sheet = $this->excel->makeSheet($table->getAttribute('_excel-name'));

// Loop over all rows
$rowIndex = 1;
Expand Down

0 comments on commit beee49e

Please sign in to comment.