From d6f263ef3f4580d343428b5eb42efc649c5a4fdf Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Wed, 24 Jul 2019 10:03:43 +0200 Subject: [PATCH] Make method private [MAILPOET-2146] --- lib/Mailer/Mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Mailer/Mailer.php b/lib/Mailer/Mailer.php index aa743aeeec..17de250842 100644 --- a/lib/Mailer/Mailer.php +++ b/lib/Mailer/Mailer.php @@ -40,7 +40,7 @@ class Mailer { return $this->mailer_instance->send($newsletter, $subscriber, $extra_params); } - function buildMailer() { + private function buildMailer() { switch ($this->mailer_config['method']) { case self::METHOD_AMAZONSES: $mailer_instance = new $this->mailer_config['class'](