From 3b70b9b47987f46f16b22f55ff235a7c9b98a557 Mon Sep 17 00:00:00 2001 From: Carl Bennett Date: Sat, 16 Mar 2024 14:04:46 -0500 Subject: [PATCH] Fix UserProfile->getUserId() unable to return null --- src/Libraries/UserProfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libraries/UserProfile.php b/src/Libraries/UserProfile.php index fabe837d..f8115113 100644 --- a/src/Libraries/UserProfile.php +++ b/src/Libraries/UserProfile.php @@ -290,7 +290,7 @@ public function getUser(): ?User return is_null($this->user_id) ? null : new User($this->user_id); } - public function getUserId(): int + public function getUserId(): ?int { return $this->user_id; }