Skip to content

Commit 3b70b9b

Browse files
committed
Fix UserProfile->getUserId() unable to return null
1 parent bb47bae commit 3b70b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Libraries/UserProfile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public function getUser(): ?User
290290
return is_null($this->user_id) ? null : new User($this->user_id);
291291
}
292292

293-
public function getUserId(): int
293+
public function getUserId(): ?int
294294
{
295295
return $this->user_id;
296296
}

0 commit comments

Comments
 (0)