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

@@ -32,7 +32,7 @@ class Swift_SmtpTransport extends Swift_Transport_EsmtpTransport
public function __construct($host = 'localhost', $port = 25, $security = null)
{
call_user_func_array(
array($this, 'Swift_Transport_EsmtpTransport::__construct'),
'Swift_Transport_EsmtpTransport::__construct',
Swift_DependencyContainer::getInstance()
->createDependenciesFor('transport.smtp')
);