From da5a6a6b83abb4be11a8e4be6b38e7705e509200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 14 Jul 2025 18:12:17 +0800 Subject: [PATCH] eee --- kiri-engine/Core/Str.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/Core/Str.php b/kiri-engine/Core/Str.php index 435c125a..f8baf0ad 100644 --- a/kiri-engine/Core/Str.php +++ b/kiri-engine/Core/Str.php @@ -185,7 +185,7 @@ class Str * @return array * 剩余天,带分秒 */ - public static function timeout($endTime, int $startTime = NULL): array + public static function timeout($endTime, ?int $startTime = NULL): array { $endTime = $endTime - (!empty($startTime) ? $startTime : time());