1
0
Fork 0

Merge pull request #109 from stloyd/patch-3

[ZipDowloader] Proper exception usage
pull/107/merge
Jordi Boggiano 2011-11-15 00:11:51 -08:00
commit 74760cd7ac
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class ZipDownloader extends FileDownloader
protected function extract($file, $path)
{
if (!class_exists('ZipArchive')) {
throw new \UnexpectedValueException('You need the zip extension enabled to use the ZipDownloader');
throw new \RuntimeException('You need the zip extension enabled to use the ZipDownloader');
}
$zipArchive = new \ZipArchive();