Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Nov 11, 2022
1 parent c268995 commit 3f76d12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Drivers/PhpSpreadsheetDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ public function mergeCells(string $ceilRange): self
public function copyStyle(string $cellFrom, string $rangeTo): self
{
$this->sheet()->duplicateStyle($this->sheet()->getStyle($cellFrom), $rangeTo);
$this->sheet()->duplicateConditionalStyle($this->sheet()->getConditionalStyles($cellFrom), $rangeTo);
if ($conditionalStyle = $this->sheet()->getConditionalStyles($cellFrom)) {
$this->sheet()->duplicateConditionalStyle($conditionalStyle, $rangeTo);
}

return $this;
}
Expand Down

0 comments on commit 3f76d12

Please sign in to comment.