File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
app/code/Magento/Newsletter/Model/Queue
lib/internal/Magento/Framework/Mail/Template Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
- /** @noinspection SenselessMethodDuplicationInspection */
3
- /** @noinspection ReturnTypeCanBeDeclaredInspection */
4
- /** @noinspection PhpUndefinedClassInspection */
5
2
/**
6
3
* Copyright © Magento, Inc. All rights reserved.
7
4
* See COPYING.txt for license details.
Original file line number Diff line number Diff line change 4
4
*
5
5
* Copyright © Magento, Inc. All rights reserved.
6
6
* See COPYING.txt for license details.
7
- * @noinspection PhpUnusedParameterInspection
8
7
*/
9
8
declare (strict_types=1 );
10
9
15
14
use Magento \Framework \Exception \MailException ;
16
15
use Magento \Framework \Mail \EmailMessageInterface ;
17
16
use Magento \Framework \Mail \EmailMessageInterfaceFactory ;
18
- use Magento \Framework \Mail \MailAddress ;
19
17
use Magento \Framework \Mail \MailAddressConverter ;
20
- use Magento \Framework \Mail \MailAddressList ;
21
- use Magento \Framework \Mail \MailAddressListFactory ;
22
18
use Magento \Framework \Mail \MessageInterface ;
23
19
use Magento \Framework \Mail \MessageInterfaceFactory ;
24
20
use Magento \Framework \Mail \MimeInterface ;
@@ -127,6 +123,7 @@ class TransportBuilder
127
123
* @var MimePartInterfaceFactory
128
124
*/
129
125
private $ mimePartInterfaceFactory ;
126
+
130
127
/**
131
128
* @var MailAddressConverter|null
132
129
*/
@@ -231,7 +228,6 @@ public function addBcc($address)
231
228
*/
232
229
public function setReplyTo ($ email , $ name = null )
233
230
{
234
-
235
231
$ this ->getMailAddresses ('replyTo ' , $ email , $ name );
236
232
237
233
return $ this ;
You can’t perform that action at this time.
0 commit comments