Skip to content

Commit bdfb4b0

Browse files
authored
Fixed parameter error (#417)
FixedRequired parameter $account follows optional parameter $isNewSession
1 parent 6e56fca commit bdfb4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Events/WeChatUserAuthorized.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class WeChatUserAuthorized
3030
* @param \Overtrue\Socialite\User $user
3131
* @param bool $isNewSession
3232
*/
33-
public function __construct(User $user, $isNewSession = false, string $account)
33+
public function __construct(User $user, $isNewSession = false, string $account = '')
3434
{
3535
$this->user = $user;
3636
$this->isNewSession = $isNewSession;

0 commit comments

Comments
 (0)