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

@@ -18,7 +18,7 @@ class Swift_NullTransport extends Swift_Transport_NullTransport
public function __construct()
{
call_user_func_array(
array($this, 'Swift_Transport_NullTransport::__construct'),
'Swift_Transport_NullTransport::__construct',
Swift_DependencyContainer::getInstance()
->createDependenciesFor('transport.null')
);