fix IDE warning/error: constructor returning something

This commit is contained in:
ralf 2022-03-29 09:12:02 +03:00
parent 13d1289910
commit 20d3394e2b

View File

@ -75,12 +75,12 @@ class Mailer extends Horde_Mime_Mail
Preferences::setlocale(LC_MESSAGES);
parent::__construct();
if ($account ==='initbasic')
if ($account === 'initbasic')
{
$this->_headers = new Horde_Mime_Headers();
$this->clearAllRecipients();
$this->clearReplyTos();
return $this;
return;
}
if ($account !== false)
{
@ -1194,4 +1194,4 @@ class Mailer extends Horde_Mime_Mail
}
return true;
}
}
}