Add throws declaration for FileDownloader::extract()
parent
43631ccd5b
commit
7527d0af43
|
@ -105,6 +105,8 @@ abstract class FileDownloader implements DownloaderInterface
|
||||||
*
|
*
|
||||||
* @param string $file Extracted file
|
* @param string $file Extracted file
|
||||||
* @param string $path Directory
|
* @param string $path Directory
|
||||||
|
*
|
||||||
|
* @throws \UnexpectedValueException If can not extract downloaded file to path
|
||||||
*/
|
*/
|
||||||
protected abstract function extract($file, $path);
|
protected abstract function extract($file, $path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue