Last active
February 5, 2020 09:18
-
-
Save DanielRiezebos/89db9d4bf59acdeedd5340625d3969ed to your computer and use it in GitHub Desktop.
EmailMessageInterface_2.3.3_backward_compatibility - Module-Email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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