Avoid deprecation messages when sending an email with PHP 8.2

Fixes #5225
This commit is contained in:
Frédéric Guillot
2023-04-03 20:17:55 -07:00
committed by Frédéric Guillot
parent e2ad014cde
commit 4c40fe1931
12 changed files with 12 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ class Swift_MailTransport extends Swift_Transport_MailTransport
public function __construct($extraParams = '-f%s')
{
call_user_func_array(
array($this, 'Swift_Transport_MailTransport::__construct'),
'Swift_Transport_MailTransport::__construct',
Swift_DependencyContainer::getInstance()
->createDependenciesFor('transport.mail')
);