Skip to content

Commit

Permalink
Updated Mailer docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Street committed Jan 28, 2019
1 parent 885ed46 commit eb1b591
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down Expand Up @@ -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
*
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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
*
Expand All @@ -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)
Expand Down

0 comments on commit eb1b591

Please sign in to comment.