Fix DownloaderInterface return types
parent
b3951b8804
commit
fd88b3d48d
|
@ -58,6 +58,7 @@ interface DownloaderInterface
|
||||||
*
|
*
|
||||||
* @param PackageInterface $package package instance
|
* @param PackageInterface $package package instance
|
||||||
* @param string $path download path
|
* @param string $path download path
|
||||||
|
* @return PromiseInterface|null
|
||||||
*/
|
*/
|
||||||
public function install(PackageInterface $package, $path);
|
public function install(PackageInterface $package, $path);
|
||||||
|
|
||||||
|
@ -67,6 +68,7 @@ interface DownloaderInterface
|
||||||
* @param PackageInterface $initial initial package
|
* @param PackageInterface $initial initial package
|
||||||
* @param PackageInterface $target updated package
|
* @param PackageInterface $target updated package
|
||||||
* @param string $path download path
|
* @param string $path download path
|
||||||
|
* @return PromiseInterface|null
|
||||||
*/
|
*/
|
||||||
public function update(PackageInterface $initial, PackageInterface $target, $path);
|
public function update(PackageInterface $initial, PackageInterface $target, $path);
|
||||||
|
|
||||||
|
@ -75,6 +77,7 @@ interface DownloaderInterface
|
||||||
*
|
*
|
||||||
* @param PackageInterface $package package instance
|
* @param PackageInterface $package package instance
|
||||||
* @param string $path download path
|
* @param string $path download path
|
||||||
|
* @return PromiseInterface|null
|
||||||
*/
|
*/
|
||||||
public function remove(PackageInterface $package, $path);
|
public function remove(PackageInterface $package, $path);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue