* docblock
parent
aef502aa86
commit
eb8ad8b74f
src/Composer/Downloader
|
@ -53,6 +53,14 @@ class ZipDownloader extends ArchiveDownloader
|
||||||
$zipArchive->close();
|
$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)
|
protected function handleZipError($retval, $file)
|
||||||
{
|
{
|
||||||
switch ($retval) {
|
switch ($retval) {
|
||||||
|
|
Loading…
Reference in New Issue