From 1fe3626dac6eada2858509770ce195aa9ee173a2 Mon Sep 17 00:00:00 2001 From: Blacknife Date: Sat, 23 Nov 2024 11:12:34 +0300 Subject: [PATCH] fix `Conditional formatting a cell` documentation --- docs/topics/recipes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/recipes.md b/docs/topics/recipes.md index b5a3927039..8b27155d90 100644 --- a/docs/topics/recipes.md +++ b/docs/topics/recipes.md @@ -1293,8 +1293,8 @@ style object: ```php $spreadsheet->getActiveSheet() - ->duplicateStyle( - $spreadsheet->getActiveSheet()->getStyle('B2'), + ->duplicateConditionalStyle( + $spreadsheet->getActiveSheet()->getConditionalStyles('B2'), 'B3:B7' ); ```