1
0
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:
Ne-Lexa
2018-10-11 10:49:53 +03:00
parent a13f4cc32f
commit 7e84f97473
2 changed files with 11 additions and 11 deletions

View File

@@ -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.");