Skip to content

Commit

Permalink
chore(Mailer): remove no-op local variable initilization
Browse files Browse the repository at this point in the history
The IDE hinted the value is immediately overwritten.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
  • Loading branch information
thlehmann-ionos committed Nov 19, 2024
1 parent 46d8a73 commit 40211f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/private/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 40211f3

Please sign in to comment.