fixes for last rebase and fixes for runtime

This commit is contained in:
2023-04-28 23:03:36 +02:00
parent c35994203d
commit 7e19419861
8 changed files with 11 additions and 69 deletions

View File

@@ -34,44 +34,14 @@ use function call_user_func;
*/
class Mailer
{
/**
* @var LoggerInterface
*/
private $logger;
/**
* @var RouterInterface
*/
private $router;
/**
* @var TranslatorInterface
*/
private $translator;
private EngineInterface $twig;
private MailerInterface $mailer;
/**
* Mailer constructor.
*
* @param $routeParameters
* @param mixed[] $routeParameters
*/
public function __construct(
MailerInterface $mailer,
LoggerInterface $logger,
EngineInterface $twig,
RouterInterface $router,
TranslatorInterface $translator,
protected $routeParameters
) {
$this->logger = $logger;
$this->twig = $twig;
$this->mailer = $mailer;
$this->router = $router;
$this->translator = $translator;
public function __construct(private MailerInterface $mailer, private LoggerInterface $logger, private EngineInterface $twig, private RouterInterface $router, private TranslatorInterface $translator, protected $routeParameters)
{
}
/**