Skip to content

Commit

Permalink
[5.7] Add MailFake methods to docblock in Mail facade (#25850)
Browse files Browse the repository at this point in the history
* add MailFake methods to docblock in Mail facade

* add reference to MailFake in docblock
  • Loading branch information
svenluijten authored and taylorotwell committed Oct 1, 2018
1 parent 2dd96e9 commit 4102928
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Illuminate/Support/Facades/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,19 @@
* @method static array failures()
* @method static mixed queue(string|array|\Illuminate\Contracts\Mail\Mailable $view, string $queue = null)
* @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|array|\Illuminate\Contracts\Mail\Mailable $view, string $queue = null)
* @method static void assertSent(string $mailable, \Closure|string $callback = null)
* @method static void assertNotSent(string $mailable, \Closure|string $callback = null)
* @method static void assertNothingSent()
* @method static void assertQueued(string $mailable, \Closure|string $callback = null)
* @method static void assertNotQueued(string $mailable, \Closure|string $callback = null)
* @method static void assertNothingQueued()
* @method static \Illuminate\Support\Collection sent(string $mailable, \Closure|string $callback = null)
* @method static bool hasSent(string $mailable)
* @method static \Illuminate\Support\Collection queued(string $mailable, \Closure|string $callback = null)
* @method static bool hasQueued(string $mailable)
*
* @see \Illuminate\Mail\Mailer
* @see \Illuminate\Support\Testing\Fakes\MailFake
*/
class Mail extends Facade
{
Expand Down

0 comments on commit 4102928

Please sign in to comment.