1
0
Fork 0

Use `RuntimeException` instead of `UnexpectedValueException` when zip extension is not enabled

pull/109/head
Joseph Bielawski 2011-11-14 23:05:08 +01:00
parent 8f2fb353e0
commit d6cd6a4aef
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();