Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6280b5b2 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Fix getUsers(): always return ?array by adding null return in catch block

parent 675e152b
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -90,6 +90,7 @@ class ShopAccountService {
			return $users;
		} catch (Exception $e) {
			$this->logger->logException($e, ['app' => Application::APP_ID]);
			return null;
		}
	}