Fix some obvious compatibility issues with new dependencies

This commit is contained in:
Kijin Sung 2018-10-18 14:10:02 +09:00
parent ab195fbf3b
commit ad96ae6bb6
6 changed files with 7 additions and 8 deletions

View file

@ -12,7 +12,7 @@ class MailFunction extends Base implements \Rhymix\Framework\Drivers\MailInterfa
*/
protected function __construct()
{
$this->mailer = \Swift_Mailer::newInstance(\Swift_MailTransport::newInstance());
$this->mailer = new \Swift_Mailer(new \Swift_MailTransport);
}
/**