Skip to content

Commit

Permalink
fixes for the destructurings
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalonat committed Feb 6, 2024
1 parent 25d22f4 commit f83c966
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PhpSpreadsheet/Worksheet/Worksheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3630,8 +3630,7 @@ public function repeatSourceRange(string $sourceRange, int $repetitions = 2, int
$sourceEndColumnIndex = $sourceEnd[0];

// Find the merged cells within the source range
$mergedCellRanges = [];
$mergedCellRanges[] = $this->getMergeCellsFromCollection($sourceStart, $sourceEnd);
$mergedCellRanges = $this->getMergeCellsFromCollection($sourceStart, $sourceEnd);

// Copy the cells and merge them in the new locations
$groupCount = 0;
Expand Down

0 comments on commit f83c966

Please sign in to comment.