From 392881c0d8b831ae0e333818e5f3ec37051595ef Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 22 Jul 2023 17:27:42 +0000 Subject: [PATCH] Fixed type on getUserId in LoginAttemptInfo. --- src/Auth/LoginAttemptInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/LoginAttemptInfo.php b/src/Auth/LoginAttemptInfo.php index 025c11c..9c3abeb 100644 --- a/src/Auth/LoginAttemptInfo.php +++ b/src/Auth/LoginAttemptInfo.php @@ -29,7 +29,7 @@ class LoginAttemptInfo { return $this->userId !== null; } - public function getUserId(): string { + public function getUserId(): ?string { return $this->userId; }