refactor:方法返回值类型微调

This commit is contained in:
妙码生花 2023-10-16 03:03:05 +08:00
parent 09b9eae48d
commit d736154ef6

View File

@ -508,7 +508,7 @@ class Server
/**
* 读取 .runtime
*/
public static function getRuntime(string $dir, string $key = ''): array
public static function getRuntime(string $dir, string $key = ''): mixed
{
$runtimeFilePath = $dir . '.runtime';
$runtimeContent = @file_get_contents($runtimeFilePath);