1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-30 02:09:50 +02:00

refactoring

This commit is contained in:
wapplay
2019-12-06 08:32:33 +03:00
parent c0786f5947
commit e03c963dc1
7 changed files with 36 additions and 15 deletions

View File

@@ -2,6 +2,9 @@
namespace PhpZip\Exception;
/**
* Class ZipUnsupportMethodException.
*/
class ZipUnsupportMethodException extends RuntimeException
{
}

View File

@@ -81,7 +81,7 @@ class EndOfCentralDirectory
private $entryCount;
/** @var bool */
private $zip64 = false;
private $zip64;
/**
* EndOfCentralDirectory constructor.

View File

@@ -507,6 +507,7 @@ class ZipInputStream implements ZipInputStreamInterface
break;
case ZipFileInterface::METHOD_DEFLATED:
/** @noinspection PhpUsageOfSilenceOperatorInspection */
$content = @gzinflate($content);
break;

View File

@@ -1,5 +1,7 @@
<?php
/** @noinspection PhpUsageOfSilenceOperatorInspection */
namespace PhpZip;
use PhpZip\Exception\InvalidArgumentException;