Skip to content

Commit

Permalink
Use container.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Mar 30, 2020
1 parent a088fa1 commit 8278b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Notifications/ChannelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class ChannelManager extends Manager
*/
protected function createMailDriver()
{
$mailer = $this->app->make('orchestra.postal');
$mailer = $this->container->make('orchestra.postal');

return $this->app->make(MailChannel::class, [$mailer->getMailer()]);
return $this->container->make(MailChannel::class, [$mailer->getMailer()]);
}
}

0 comments on commit 8278b4e

Please sign in to comment.