Skip to content

Commit

Permalink
Merge pull request #4238 from Blacknife/fix-conditional-formatting-a-…
Browse files Browse the repository at this point in the history
…cell-documentation

fix `Conditional formatting a cell` documentation
  • Loading branch information
oleibman authored Nov 23, 2024
2 parents f37b119 + 1fe3626 commit fd562af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,8 @@ style object:

```php
$spreadsheet->getActiveSheet()
->duplicateStyle(
$spreadsheet->getActiveSheet()->getStyle('B2'),
->duplicateConditionalStyle(
$spreadsheet->getActiveSheet()->getConditionalStyles('B2'),
'B3:B7'
);
```
Expand Down

0 comments on commit fd562af

Please sign in to comment.