mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 18:05:36 +08:00
cs fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user