Skip to content

Commit

Permalink
Update 'queue' function signature of 'MailFake.php' to match signatur…
Browse files Browse the repository at this point in the history
…e of 'queue' on 'Mailer.php' after 5.5 upgrade. (#22072)
  • Loading branch information
twig1337 authored and taylorotwell committed Nov 15, 2017
1 parent 2037919 commit e3b778d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Support/Testing/Fakes/MailFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,10 @@ public function send($view, array $data = [], $callback = null)
* Queue a new e-mail message for sending.
*
* @param string|array $view
* @param array $data
* @param \Closure|string $callback
* @param string|null $queue
* @return mixed
*/
public function queue($view, array $data = [], $callback = null, $queue = null)
public function queue($view, $queue = null)
{
if (! $view instanceof Mailable) {
return;
Expand Down

0 comments on commit e3b778d

Please sign in to comment.