Преглед изворни кода

Merge remote-tracking branch 'origin/master'

Jordi Boggiano пре 13 година
родитељ
комит
61d17524b8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Downloader/ZipDownloader.php

+ 1 - 1
src/Composer/Downloader/ZipDownloader.php

@@ -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();