Skip to content

Commit 1f72f44

Browse files
Fix: sample markAsFinal => method must be called on presentation properties
1 parent 0af0122 commit 1f72f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/Sample_13_MarkAsFinal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$objPHPPresentation = new PhpPresentation();
1010

1111
// Mark the document as final
12-
$objPHPPresentation->markAsFinal(true);
12+
$objPHPPresentation->getPresentationProperties()->markAsFinal(true);
1313

1414
// Create slide
1515
echo date('H:i:s') . ' Create slide' . EOL;

0 commit comments

Comments
 (0)