Skip to content

Commit

Permalink
remove worksheet
Browse files Browse the repository at this point in the history
  • Loading branch information
sibalonat committed Feb 6, 2024
1 parent 5c32d72 commit 1a827fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PhpSpreadsheet/Worksheet/Worksheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3618,14 +3618,12 @@ public function copyCells(string $fromCell, string $toCells, bool $copyStyle = t
* Copy a range area, with merged cells applied to another location.
* Acts similarly to Excel copy/paste merged areas to specific cell.
*
* @param PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $worksheet or active sheet
* @param string $sourceRange cell range, e.g. C3:C10
* @param int $repetitions the number of times to repeat the source range
* @param int $groupSize the number of cells in the source range to repeat
*/
public function repeatSourceRange(string $sourceRange, int $repetitions = 2, int $groupSize = 2): void
{
$worksheet = $this;
// Get the start and end coordinates of the source range
[$sourceStart, $sourceEnd] = Coordinate::rangeBoundaries($sourceRange);
$sourceStartColumnIndex = $sourceStart[0];
Expand Down

0 comments on commit 1a827fe

Please sign in to comment.