Skip to content

Commit

Permalink
Merge pull request #27329 from samstreet/feature/updated-mailable-doc…
Browse files Browse the repository at this point in the history
…blocks

[5.7] Updated Mailer docblocks
  • Loading branch information
taylorotwell authored Jan 28, 2019
2 parents 7ae28c0 + eb1b591 commit 729664b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 @@ -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 729664b

Please sign in to comment.