Update worksheets.md (#243)

This commit is contained in:
gdbonino 2017-10-10 04:14:19 -03:00 committed by Adrien Crivelli
parent 6b4f6a7228
commit 0bccbca031
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ insert the clone into the workbook.
``` php ``` php
$clonedWorksheet = clone $spreadsheet->getSheetByName('Worksheet 1'); $clonedWorksheet = clone $spreadsheet->getSheetByName('Worksheet 1');
$clonedWorksheet->setTitle('Copy of Worksheet 1') $clonedWorksheet->setTitle('Copy of Worksheet 1');
$spreadsheet->addSheet($clonedWorksheet); $spreadsheet->addSheet($clonedWorksheet);
``` ```