Skip to content

Commit

Permalink
[8.x] Removed deprecated code (#32092)
Browse files Browse the repository at this point in the history
* Removed deprecated code

* Update WorkCommand.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
GrahamCampbell and taylorotwell committed Mar 30, 2020
1 parent af79dd1 commit cdf7ebc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 33 deletions.
12 changes: 0 additions & 12 deletions src/Illuminate/Mail/PendingMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,6 @@ public function send(MailableContract $mailable)
return $this->mailer->send($this->fill($mailable));
}

/**
* Send a mailable message immediately.
*
* @param \Illuminate\Contracts\Mail\Mailable $mailable
* @return mixed
* @deprecated Use send() instead.
*/
public function sendNow(MailableContract $mailable)
{
return $this->mailer->send($this->fill($mailable));
}

/**
* Push the given mailable onto the queue.
*
Expand Down
9 changes: 0 additions & 9 deletions src/Illuminate/Support/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ abstract class Manager
*/
protected $container;

/**
* The container instance.
*
* @var \Illuminate\Contracts\Container\Container
*
* @deprecated Use the $container property instead.
*/
protected $app;

/**
* The configuration repository instance.
*
Expand Down
12 changes: 0 additions & 12 deletions src/Illuminate/Support/Testing/Fakes/PendingMailFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ public function send(Mailable $mailable)
return $this->mailer->send($this->fill($mailable));
}

/**
* Send a mailable message immediately.
*
* @param \Illuminate\Contracts\Mail\Mailable $mailable;
* @return mixed
* @deprecated Use send() instead.
*/
public function sendNow(Mailable $mailable)
{
return $this->send($mailable);
}

/**
* Push the given mailable onto the queue.
*
Expand Down

0 comments on commit cdf7ebc

Please sign in to comment.