浏览代码

* docblock

till 13 年之前
父节点
当前提交
eb8ad8b74f
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/Composer/Downloader/ZipDownloader.php

+ 8 - 0
src/Composer/Downloader/ZipDownloader.php

@@ -53,6 +53,14 @@ class ZipDownloader extends ArchiveDownloader
         $zipArchive->close();
     }
 
+    /**
+     * Handle the error and give a meaningful error message to the user.
+     *
+     * @param int $retval
+     * @param string $file
+     *
+     * @throws \UnexpectedValueException
+     */
     protected function handleZipError($retval, $file)
     {
         switch ($retval) {