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' ); ```