From f5ca755f83974e24c1e95d4fb48bf95f5a616e9a Mon Sep 17 00:00:00 2001 From: Thomas Lehmann Date: Thu, 7 Nov 2024 11:05:11 +0100 Subject: [PATCH] chore(Mailer): remove no-op local variable initilization The IDE hinted the value is immediately overwritten. Signed-off-by: Thomas Lehmann --- lib/private/Mail/Mailer.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index f95b858ee7bb7..0a5b633c52ed1 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -255,8 +255,6 @@ protected function getInstance(): MailerInterface { return $this->instance; } - $transport = null; - switch ($this->config->getSystemValueString('mail_smtpmode', 'smtp')) { case 'sendmail': $transport = $this->getSendMailInstance();