From ae40bae4ed768d49b698656c2ac796bdbab38a90 Mon Sep 17 00:00:00 2001 From: lkeme <1462364497@qq.com> Date: Sun, 6 Mar 2022 19:34:21 +0800 Subject: [PATCH] [fix(Login)]: Typed static property fixed #151 --- src/plugin/Login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin/Login.php b/src/plugin/Login.php index 4c8f4ae..60783aa 100644 --- a/src/plugin/Login.php +++ b/src/plugin/Login.php @@ -21,8 +21,8 @@ class Login use TimeLock; // 账密 - private static string $username; - private static string $password; + private static ?string $username = ''; + private static ?string $password = ''; /** * @use run