mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-30 10:19:51 +02:00
added an additional test of the encrypted archive
This commit is contained in:
@@ -224,7 +224,7 @@ class ZipModel implements \Countable
|
||||
if (isset($this->outEntries[$entryName])) {
|
||||
return $this->outEntries[$entryName];
|
||||
}
|
||||
throw new ZipNotFoundEntry('Zip entry ' . $entryName . ' not found');
|
||||
throw new ZipNotFoundEntry('Zip entry "' . $entryName . '" not found');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -239,7 +239,6 @@ class ZipOutputStream implements ZipOutputStreamInterface
|
||||
$field = $extraFieldsCollection->get(WinZipAesEntryExtraField::getHeaderId());
|
||||
if (null !== $field) {
|
||||
$method = $field->getMethod();
|
||||
$entry->setMethod($method);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user