Avoid deprecation messages when sending an email with PHP 8.2
Fixes #5225
This commit is contained in:
committed by
Frédéric Guillot
parent
e2ad014cde
commit
4c40fe1931
@@ -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')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user