Fix PHPStan errors

This commit is contained in:
crazywhalecc
2025-12-05 12:05:13 +08:00
committed by Jerry Ma
parent c925914925
commit 52553fb5ed
2 changed files with 13 additions and 27 deletions

View File

@@ -370,17 +370,6 @@ class FileSystem
self::createDir($dir_name);
}
/**
* Add source extraction hook
*
* @param string $name Source name
* @param callable $callback Callback function
*/
public static function addSourceExtractHook(string $name, callable $callback): void
{
self::$_extract_hook[$name][] = $callback;
}
/**
* Check if path is relative
*