Skip to content

Commit 9596b60

Browse files
committed
Fixes #27
1 parent b99df6f commit 9596b60

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Laravel8Mailer.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ class Laravel8Mailer extends Laravel7Mailer implements MailerContract, MailFacto
1212
*
1313
* @param \Illuminate\Contracts\Container\Container $app
1414
*/
15-
// public function setApplication($app)
16-
// {
17-
// $this->app = $app;
18-
// }
15+
public function setApplication($app)
16+
{
17+
$this->app = $app;
18+
}
1919

2020
/**
2121
* Forget all of the resolved mailer instances.
2222
*
2323
* @return $this
2424
*/
25-
// public function forgetMailers()
26-
// {
27-
// $this->mailers = [];
25+
public function forgetMailers()
26+
{
27+
$this->mailers = [];
2828

29-
// return $this;
30-
// }
29+
return $this;
30+
}
3131
}

src/Mailer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function send($view, array $data = [], $callback = null)
2121
$this->applyDebugHeaders($view);
2222
}
2323

24-
parent::send($view, $data, $callback);
24+
return parent::send($view, $data, $callback);
2525
}
2626

2727
protected function applyDebugHeaders(Mailable $mailable)

0 commit comments

Comments
 (0)