diff --git a/Mailer.php b/Mailer.php index d9292a0..bc121b5 100755 --- a/Mailer.php +++ b/Mailer.php @@ -271,7 +271,7 @@ public function send($view, array $data = [], $callback = null) protected function sendMailable(MailableContract $mailable) { return $mailable instanceof ShouldQueue - ? $mailable->queue($this->queue) : $mailable->send($this); + ? $mailable->queue($this->queue) : $mailable->send($this); } /** @@ -387,7 +387,7 @@ public function queue($view, $queue = null) * Queue a new e-mail message for sending on the given queue. * * @param string $queue - * @param string|array $view + * @param \Illuminate\Contracts\Mail\Mailable $view * @return mixed */ public function onQueue($queue, $view) @@ -401,7 +401,7 @@ public function onQueue($queue, $view) * This method didn't match rest of framework's "onQueue" phrasing. Added "onQueue". * * @param string $queue - * @param string|array $view + * @param \Illuminate\Contracts\Mail\Mailable $view * @return mixed */ public function queueOn($queue, $view) @@ -413,7 +413,7 @@ public function queueOn($queue, $view) * Queue a new e-mail message for sending after (n) seconds. * * @param \DateTimeInterface|\DateInterval|int $delay - * @param string|array|\Illuminate\Contracts\Mail\Mailable $view + * @param \Illuminate\Contracts\Mail\Mailable $view * @param string|null $queue * @return mixed * @@ -433,7 +433,7 @@ public function later($delay, $view, $queue = null) * * @param string $queue * @param \DateTimeInterface|\DateInterval|int $delay - * @param string|array $view + * @param \Illuminate\Contracts\Mail\Mailable $view * @return mixed */ public function laterOn($queue, $delay, $view)