diff --git a/src/Bogardo/Mailgun/Mailgun.php b/src/Bogardo/Mailgun/Mailgun.php index 5cb6fad..badd943 100644 --- a/src/Bogardo/Mailgun/Mailgun.php +++ b/src/Bogardo/Mailgun/Mailgun.php @@ -2,7 +2,7 @@ use Closure; use Mailgun\Mailgun as Mg; -use Illuminate\View\Environment; +use Illuminate\View\Factory; use Illuminate\Support\Facades\Config; class Mailgun @@ -11,7 +11,7 @@ class Mailgun /** * The view environment instance. * - * @var \Illuminate\View\Environment + * @var \Illuminate\View\Factory */ protected $views; @@ -46,14 +46,14 @@ class Mailgun /** * Create a new Mailer instance. * - * @param \Illuminate\View\Environment $views + * @param \Illuminate\View\Factory $views * * @return \Bogardo\Mailgun\Mailgun */ - public function __construct(Environment $views) - { - $this->views = $views; - } + public function __construct(Factory $views) + { + $this->views = $views; + } /** * Initialise message configuration