diff --git a/app/Utils/CacheKey.php b/app/Utils/CacheKey.php index 8f11de91..302d43f4 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):string + public static function get(string $key, $uniqueValue) { if (!in_array($key, array_keys(self::KEYS))) { abort(500, 'key is not in cache key list');