Skip to content

Commit

Permalink
[fix(Login)]: Typed static property fixed lkeme#151
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeme committed Mar 6, 2022
1 parent 85ff353 commit ae40bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae40bae

Please sign in to comment.