mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
cs fix
This commit is contained in:
parent
e8bc892d8b
commit
72abd63b69
@ -31,16 +31,15 @@ abstract class CustomPackage
|
|||||||
/**
|
/**
|
||||||
* Get the environment variables this package needs to be usable.
|
* Get the environment variables this package needs to be usable.
|
||||||
* PATH needs to be appended, rather than replaced.
|
* PATH needs to be appended, rather than replaced.
|
||||||
*
|
|
||||||
* @return array
|
|
||||||
*/
|
*/
|
||||||
abstract public static function getEnvironment(): array;
|
abstract public static function getEnvironment(): array;
|
||||||
|
|
||||||
abstract public static function isInstalled(): bool;
|
abstract public static function isInstalled(): bool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extract the downloaded package
|
* Extract the downloaded package
|
||||||
*
|
*
|
||||||
* @param string $name Package name
|
* @param string $name Package name
|
||||||
*/
|
*/
|
||||||
abstract public function extract(string $name): void;
|
abstract public function extract(string $name): void;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user