Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DanielRiezebos/89db9d4bf59acdeedd5340625d3969ed to your computer and use it in GitHub Desktop.
Save DanielRiezebos/89db9d4bf59acdeedd5340625d3969ed to your computer and use it in GitHub Desktop.
EmailMessageInterface_2.3.3_backward_compatibility - Module-Email
diff --git a/vendor/magento/module-email/Model/Transport.php b/vendor/magento/module-email/Transport.php
index cbce1682cb5..79ceb56a883 100644
--- a/vendor/magento/module-email/Model/Transport.php
+++ b/vendor/magento/module-email/Model/Transport.php
@@ -9,7 +9,6 @@ namespace Magento\Email\Model;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\Exception\MailException;
-use Magento\Framework\Mail\EmailMessageInterface;
use Magento\Framework\Mail\MessageInterface;
use Magento\Framework\Mail\TransportInterface;
use Magento\Framework\Phrase;
@@ -62,12 +61,12 @@ class Transport implements TransportInterface
private $message;
/**
- * @param EmailMessageInterface $message Email message object
+ * @param MessageInterface $message Email message object
* @param ScopeConfigInterface $scopeConfig Core store config
* @param null|string|array|\Traversable $parameters Config options for sendmail parameters
*/
public function __construct(
- EmailMessageInterface $message,
+ MessageInterface $message,
ScopeConfigInterface $scopeConfig,
$parameters = null
) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment