From b97ca29d5ada49f0a9bae14363c029fea2f4f304 Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.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