Skip to content

Commit 9ff79a6

Browse files
committed
Unneeded Statement
Noted by Scrutinizer.
1 parent a7378be commit 9ff79a6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/PhpSpreadsheet/Worksheet/Worksheet.php

-1
Original file line numberDiff line numberDiff line change
@@ -3653,7 +3653,6 @@ public function setBackgroundImage(string $backgroundImage): self
36533653
public function copyCells(string $fromCell, string $toCells, bool $copyStyle = true): void
36543654
{
36553655
$toArray = Coordinate::extractAllCellReferencesInRange($toCells);
3656-
$value = $this->getCell($fromCell)->getValue();
36573656
$valueString = $this->getCell($fromCell)->getValueString();
36583657
$style = $this->getStyle($fromCell)->exportArray();
36593658
$fromIndexes = Coordinate::indexesFromString($fromCell);

0 commit comments

Comments
 (0)