From 7527d0af433c30a57b0ec68d9b1df4ed06047315 Mon Sep 17 00:00:00 2001 From: Kirill chEbba Chebunin Date: Fri, 30 Sep 2011 22:46:09 +0400 Subject: [PATCH] Add throws declaration for FileDownloader::extract() --- src/Composer/Downloader/FileDownloader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Downloader/FileDownloader.php b/src/Composer/Downloader/FileDownloader.php index 32fb186f9..4b4f1fcc4 100644 --- a/src/Composer/Downloader/FileDownloader.php +++ b/src/Composer/Downloader/FileDownloader.php @@ -105,6 +105,8 @@ abstract class FileDownloader implements DownloaderInterface * * @param string $file Extracted file * @param string $path Directory + * + * @throws \UnexpectedValueException If can not extract downloaded file to path */ protected abstract function extract($file, $path); }