From 4d2d12e67b6f5a55606372f639a99f447fc06e38 Mon Sep 17 00:00:00 2001 From: Dave Umrysh Date: Thu, 23 Nov 2023 11:20:41 -0700 Subject: [PATCH] do not pass null to open --- vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php b/vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php index bc71e74..30fdda1 100755 --- a/vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php +++ b/vendor/phpoffice/phpword/src/PhpWord/Shared/ZipArchive.php @@ -125,7 +125,7 @@ class ZipArchive * @param int $flags The mode to use to open the archive * @return bool */ - public function open($filename, $flags = null) + public function open($filename, $flags = 0) { $result = true; $this->filename = $filename;