From 5147037b86f7fc32c82fbe9d1433e3d369946b84 Mon Sep 17 00:00:00 2001 From: Ronak Patel Date: Mon, 11 Mar 2024 15:08:59 -0700 Subject: [PATCH] added null --- lib/Service/UserService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index b6097b37..55b74cd0 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -96,6 +96,7 @@ class UserService { if($this->userExists($uid)) { return $this->userManager->get($uid); } + return null; } public function setRecoveryEmail(string $uid, string $recoveryEmail): void { -- GitLab