Browse Source

Add throws declaration for FileDownloader::extract()

Kirill chEbba Chebunin 13 years ago
parent
commit
7527d0af43
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Composer/Downloader/FileDownloader.php

+ 2 - 0
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);
 }