Skip to content

Commit

Permalink
Eliminate Unneeded Statement
Browse files Browse the repository at this point in the history
  • Loading branch information
oleibman committed Jan 7, 2025
1 parent ac5d370 commit 0ecf9c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PhpSpreadsheet/Spreadsheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ public function getActiveSheet(): Worksheet
public function createSheet(?int $sheetIndex = null): Worksheet
{
$newSheet = new Worksheet($this);
$title = $newSheet->getTitle();
$this->addSheet($newSheet, $sheetIndex, true);

return $newSheet;
Expand Down

0 comments on commit 0ecf9c2

Please sign in to comment.