Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Sep 24, 2023
1 parent 5ca0edc commit 917be6c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
$section = $word->createFirstPage();

$file = \tempnam(\sys_get_temp_dir(), 'oms_');
if ($file === false) {
return;
}

$writer = \PhpOffice\PhpWord\IOFactory::createWriter($word, 'Word2007');
$writer->save($file);
Expand Down

0 comments on commit 917be6c

Please sign in to comment.