This commit is contained in:
Tokumeikoi 2020-03-13 14:37:28 +08:00
parent 8d10b52a35
commit 26252aee02

View File

@ -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');