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

Commit 09f6f7f5 authored by Ronak Patel's avatar Ronak Patel Committed by AVINASH GUSAIN
Browse files

applied suggestion

parent afccebad
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -458,7 +458,7 @@ class UserService {
	 * @param $userLanguage string
	 * @return mixed response of the external endpoint
	 */
	public function newsletterSignup(string $userEmail, array $listIds, string $userLanguage) {
	public function newsletterSignup(string $userEmail, array $listIds, string $userLanguage): void{
		$newsletterApiUrl = $this->config->getSystemValue('newsletter_base_url', '');

		if (!isset($newsletterApiUrl) || empty($newsletterApiUrl)) {