Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #69 from tubssz/master
Browse files Browse the repository at this point in the history
change Swift_Message call
  • Loading branch information
benji07 authored Jun 28, 2017
2 parents 8dfd7d8 + 74a62c3 commit 38eb9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Listener/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function createMailAndSend($exception, Request $request = null, $context
$subject = substr($subject, 0, 255);
}

$mail = \Swift_Message::newInstance()
$mail = (new \Swift_Message())
->setSubject($subject)
->setFrom($this->from)
->setTo($this->to)
Expand Down

0 comments on commit 38eb9f9

Please sign in to comment.