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

Commit a33e49aa authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Merge branch 'dev/fix-return-type' into 'main'

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

See merge request !198
parents 675e152b 6280b5b2
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;
		}
	}