Remove all @throws PHPDoc, it's almost useless for SPC anymore

This commit is contained in:
crazywhalecc
2025-08-06 20:17:26 +08:00
committed by Jerry Ma
parent fa10142f13
commit 0c9a30256e
120 changed files with 169 additions and 1203 deletions

View File

@@ -24,10 +24,7 @@ class GlobalEnvManager
}
/**
* Initialize the environment variables
*
* @throws RuntimeException
* @throws WrongUsageException
* Initialize the environment variables.
*/
public static function init(): void
{
@@ -110,8 +107,6 @@ class GlobalEnvManager
/**
* Initialize the toolchain after the environment variables are set.
* The toolchain or environment availability check is done here.
*
* @throws WrongUsageException
*/
public static function afterInit(): void
{
@@ -129,9 +124,6 @@ class GlobalEnvManager
}
}
/**
* @throws WrongUsageException
*/
private static function readIniFile(): array
{
// Init env.ini file, read order: