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 7, 2024
1 parent e3f3824 commit d51632d
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 @@ -249,8 +249,6 @@ public function validateMailAddress(string $email): bool {
}

protected function getInstance(): MailerInterface {
$transport = null;

switch ($this->config->getSystemValueString('mail_smtpmode', 'smtp')) {
case 'sendmail':
$transport = $this->getSendMailInstance();
Expand Down

0 comments on commit d51632d

Please sign in to comment.