1
0
Fork 0

Removed type check on ArchiveManager

pull/4479/head
MakiCode 2015-10-12 10:18:57 -05:00
parent 22e93f110b
commit fefc106ef6
1 changed files with 1 additions and 4 deletions

View File

@ -108,10 +108,7 @@ class ArchiveManager
if (empty($format)) {
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
$usableArchiver = null;
foreach ($this->archivers as $archiver) {