mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-31 10:41:50 +02:00
resolve merge conflict
This commit is contained in:
@@ -92,7 +92,7 @@ class ZipFile implements ZipFileInterface
|
||||
public function openFile($filename)
|
||||
{
|
||||
if (!file_exists($filename)) {
|
||||
throw new InvalidArgumentException("File $filename does not exist.");
|
||||
throw new ZipException("File $filename does not exist.");
|
||||
}
|
||||
if (!($handle = @fopen($filename, 'rb'))) {
|
||||
throw new ZipException("File $filename can't open.");
|
||||
|
Reference in New Issue
Block a user