From 8278b4ee6d08963a10e9c6a2cce81001d1b3773a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Mon, 30 Mar 2020 21:42:40 +0800 Subject: [PATCH] Use container. Signed-off-by: Mior Muhammad Zaki --- src/Notifications/ChannelManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notifications/ChannelManager.php b/src/Notifications/ChannelManager.php index 332b689..017b82d 100644 --- a/src/Notifications/ChannelManager.php +++ b/src/Notifications/ChannelManager.php @@ -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()]); } }