We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac3a60 commit 0806448Copy full SHA for 0806448
docs/recipes.rst
@@ -29,7 +29,7 @@ Use ``php://output`` as the filename.
29
.. code-block:: php
30
31
$phpWord = new \PhpOffice\PhpWord\PhpWord();
32
- $section = $phpWord->createSection();
+ $section = $phpWord->addSection();
33
$section->addText('Hello World!');
34
$file = 'HelloWorld.docx';
35
header("Content-Description: File Transfer");
0 commit comments