From 8d10b52a351f6df74259a50fa069dbfc47b43780 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Fri, 13 Mar 2020 14:37:15 +0800 Subject: [PATCH] update --- app/Utils/CacheKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/CacheKey.php b/app/Utils/CacheKey.php index 302d43f4..8f11de91 100644 --- a/app/Utils/CacheKey.php +++ b/app/Utils/CacheKey.php @@ -9,7 +9,7 @@ class CacheKey 'LAST_SEND_EMAIL_VERIFY_TIMESTAMP' => '最后一次发送邮箱验证码时间' ]; - public static function get(string $key, $uniqueValue) + public static function get(string $key, $uniqueValue):string { if (!in_array($key, array_keys(self::KEYS))) { abort(500, 'key is not in cache key list');