do not pass null to open

This commit is contained in:
Dave Umrysh 2023-11-23 11:20:41 -07:00
parent 3a6d96eb3f
commit 4d2d12e67b
1 changed files with 1 additions and 1 deletions

View File

@ -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;