mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor:方法返回值类型微调
This commit is contained in:
parent
09b9eae48d
commit
d736154ef6
@ -508,7 +508,7 @@ class Server
|
|||||||
/**
|
/**
|
||||||
* 读取 .runtime
|
* 读取 .runtime
|
||||||
*/
|
*/
|
||||||
public static function getRuntime(string $dir, string $key = ''): array
|
public static function getRuntime(string $dir, string $key = ''): mixed
|
||||||
{
|
{
|
||||||
$runtimeFilePath = $dir . '.runtime';
|
$runtimeFilePath = $dir . '.runtime';
|
||||||
$runtimeContent = @file_get_contents($runtimeFilePath);
|
$runtimeContent = @file_get_contents($runtimeFilePath);
|
||||||
|
Loading…
Reference in New Issue
Block a user