till %!s(int64=13) %!d(string=hai) anos
pai
achega
eb8ad8b74f
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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) {