mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-11 13:28:40 +00:00
fix php 8.1 type bug
This commit is contained in:
parent
14ade88362
commit
468abbb4f0
|
|
@ -133,7 +133,7 @@ class ZipArchive
|
|||
|
||||
if (!$this->usePclzip) {
|
||||
$zip = new \ZipArchive();
|
||||
$result = $zip->open($this->filename, $flags);
|
||||
$result = $zip->open($this->filename, $flags ?? 0);
|
||||
|
||||
// Scrutizer will report the property numFiles does not exist
|
||||
// See https://github.com/scrutinizer-ci/php-analyzer/issues/190
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user