From 7f4f68d8da3d1388fb9c5e4def3e4c80506c929a Mon Sep 17 00:00:00 2001 From: iqmeckert Date: Thu, 21 Apr 2022 15:08:16 -0400 Subject: [PATCH] fixed bug with class declaration --- src/MailgunSwiftTransport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MailgunSwiftTransport.php b/src/MailgunSwiftTransport.php index 299e193..e207f4b 100644 --- a/src/MailgunSwiftTransport.php +++ b/src/MailgunSwiftTransport.php @@ -6,7 +6,7 @@ use \Swift_MimePart; use \Swift_Transport; use \Swift_Attachment; -use \Swift_Mime_SimpleMessage; +use \Swift_Mime_Message; use \Swift_Events_SendEvent; use \Swift_Events_EventListener; use Psr\Log\LoggerInterface; @@ -93,12 +93,12 @@ public function ping() } /** - * @param Swift_Mime_SimpleMessage $message + * @param Swift_Mime_Message $message * @param null $failedRecipients * @return int Number of messages sent */ public function send( - Swift_Mime_SimpleMessage $message, + Swift_Mime_Message $message, &$failedRecipients = null ) { $this->resultApi = null;