Fix required after optional warning in SMTP mailer

[MAILPOET-3296]
This commit is contained in:
Rostislav Wolny
2020-11-26 15:41:16 +01:00
committed by Veljko V
parent e2236e45df
commit 0f7f173259
3 changed files with 20 additions and 11 deletions

View File

@ -35,8 +35,17 @@ class SMTP {
private $wp;
public function __construct(
$host, $port, $authentication, $login = null, $password = null, $encryption,
$sender, $replyTo, $returnPath, SMTPMapper $errorMapper) {
$host,
$port,
$authentication,
$encryption,
$sender,
$replyTo,
$returnPath,
SMTPMapper $errorMapper,
$login = null,
$password = null
) {
$this->wp = new WPFunctions;
$this->host = $host;
$this->port = $port;