Skip to content

Commit 784e8a0

Browse files
committed
Drop Some Dead Code
1 parent ad2194d commit 784e8a0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ private function writeCellFormula(XMLWriter $objWriter, string $cellValue, Cell
14801480
$newColumn = $thisColumn = $cell->getColumn();
14811481
if (is_array($calculatedValue)) {
14821482
$attributes['t'] = 'array';
1483-
$newRow = $row = $lastRow = $thisRow;
1483+
$newRow = $lastRow = $thisRow;
14841484
$column = $lastColumn = $thisColumn;
14851485
foreach ($calculatedValue as $resultRow) {
14861486
if (is_array($resultRow)) {

tests/PhpSpreadsheetTests/Calculation/Functions/TextData/ConcatenateTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public function testCONCATENATE(mixed $expectedResult, mixed ...$args): void
1818
$sheet = $this->getSheet();
1919
$finalArg = '';
2020
$comma = '';
21-
$row = 0;
2221
foreach ($args as $arg) {
2322
$finalArg .= $comma;
2423
$comma = ',';

0 commit comments

Comments
 (0)