mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
Remove unused container argument
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
namespace Flarum\Api\Controller;
|
namespace Flarum\Api\Controller;
|
||||||
|
|
||||||
use Flarum\Http\RequestUtil;
|
use Flarum\Http\RequestUtil;
|
||||||
use Illuminate\Container\Container;
|
|
||||||
use Illuminate\Contracts\Mail\Mailer;
|
use Illuminate\Contracts\Mail\Mailer;
|
||||||
use Illuminate\Mail\Message;
|
use Illuminate\Mail\Message;
|
||||||
use Laminas\Diactoros\Response\EmptyResponse;
|
use Laminas\Diactoros\Response\EmptyResponse;
|
||||||
@@ -21,15 +20,12 @@ use Symfony\Contracts\Translation\TranslatorInterface;
|
|||||||
|
|
||||||
class SendTestMailController implements RequestHandlerInterface
|
class SendTestMailController implements RequestHandlerInterface
|
||||||
{
|
{
|
||||||
protected $container;
|
|
||||||
|
|
||||||
protected $mailer;
|
protected $mailer;
|
||||||
|
|
||||||
protected $translator;
|
protected $translator;
|
||||||
|
|
||||||
public function __construct(Container $container, Mailer $mailer, TranslatorInterface $translator)
|
public function __construct(Mailer $mailer, TranslatorInterface $translator)
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
|
||||||
$this->mailer = $mailer;
|
$this->mailer = $mailer;
|
||||||
$this->translator = $translator;
|
$this->translator = $translator;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user