|
|
@ -108,9 +108,6 @@ class ArchiveManager
|
|
|
|
if (empty($format)) {
|
|
|
|
if (empty($format)) {
|
|
|
|
throw new \InvalidArgumentException('Format must be specified');
|
|
|
|
throw new \InvalidArgumentException('Format must be specified');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (null !== $fileName && !is_string($fileName)) {
|
|
|
|
|
|
|
|
throw new \InvalidArgumentException('fileName must be a string');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Search for the most appropriate archiver
|
|
|
|
// Search for the most appropriate archiver
|
|
|
|
$usableArchiver = null;
|
|
|
|
$usableArchiver = null;
|
|
|
|