소스 검색

Add throws declaration for FileDownloader::extract()

Kirill chEbba Chebunin 13 년 전
부모
커밋
7527d0af43
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);
 }