Skip to content

Commit 3deaa89

Browse files
authored
Merge pull request #593 from anthonyvittoria/patch-1
Update writers.rst
2 parents 1fcc840 + 0d74c08 commit 3deaa89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/writers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The name of the writer is ``ODPresentation``.
1111

1212
.. code-block:: php
1313
14-
$oWriter = IOFactory::createWriter($oPhpPresentation, 'PowerPoint2007');
14+
$oWriter = IOFactory::createWriter($oPhpPresentation, 'ODPresentation');
1515
$oWriter->save(__DIR__ . '/sample.pptx');
1616
1717
PowerPoint2007

0 commit comments

Comments
 (0)