Skip to content

Commit

Permalink
Typos stopping email transport of 'mail' (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-hume authored and PabloKowalczyk committed Apr 16, 2018
1 parent 3a5586e commit 625a105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function getMailer()
break;

case 'mail':
$transport = $this->getMailTranport();
$transport = $this->getMailTransport();
break;

default:
Expand Down Expand Up @@ -86,7 +86,7 @@ protected function getSmtpTransport()
*
* @return \Swift_MailTransport
*/
protected function getMailTrasport()
protected function getMailTransport()
{
if (!class_exists('\Swift_MailTransport')) {
throw new \Exception('Mail transport has been removed in SwiftMailer 6');
Expand Down Expand Up @@ -141,4 +141,4 @@ protected function getMessage($subject, $message)
->setTo($this->config('mailer.recipients'));
}

}
}

0 comments on commit 625a105

Please sign in to comment.