From eb1b591cd5de516cb91c52e9d07fdfd682ad2a76 Mon Sep 17 00:00:00 2001 From: Sam Street Date: Mon, 28 Jan 2019 09:20:04 +0000 Subject: [PATCH] Updated Mailer docblocks --- Mailer.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Mailer.php b/Mailer.php index cb56d04..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); } /** @@ -368,7 +368,7 @@ protected function setGlobalToAndRemoveCcAndBcc($message) /** * Queue a new e-mail message for sending. * - * @param string|array|\Illuminate\Contracts\Mail\Mailable $view + * @param \Illuminate\Contracts\Mail\Mailable $view * @param string|null $queue * @return mixed * @@ -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)