Skip to content

Commit

Permalink
Fix UserProfile->getUserId() unable to return null
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Mar 16, 2024
1 parent bb47bae commit 3b70b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libraries/UserProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3b70b9b

Please sign in to comment.