Skip to content

Commit 279c713

Browse files
committed
MC-15295: get rid of noinspection annotations
1 parent 3aabe19 commit 279c713

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

app/code/Magento/Newsletter/Model/Queue/TransportBuilder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<?php
2-
/** @noinspection SenselessMethodDuplicationInspection */
3-
/** @noinspection ReturnTypeCanBeDeclaredInspection */
4-
/** @noinspection PhpUndefinedClassInspection */
52
/**
63
* Copyright © Magento, Inc. All rights reserved.
74
* See COPYING.txt for license details.

lib/internal/Magento/Framework/Mail/Template/TransportBuilder.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* Copyright © Magento, Inc. All rights reserved.
66
* See COPYING.txt for license details.
7-
* @noinspection PhpUnusedParameterInspection
87
*/
98
declare(strict_types=1);
109

@@ -15,10 +14,7 @@
1514
use Magento\Framework\Exception\MailException;
1615
use Magento\Framework\Mail\EmailMessageInterface;
1716
use Magento\Framework\Mail\EmailMessageInterfaceFactory;
18-
use Magento\Framework\Mail\MailAddress;
1917
use Magento\Framework\Mail\MailAddressConverter;
20-
use Magento\Framework\Mail\MailAddressList;
21-
use Magento\Framework\Mail\MailAddressListFactory;
2218
use Magento\Framework\Mail\MessageInterface;
2319
use Magento\Framework\Mail\MessageInterfaceFactory;
2420
use Magento\Framework\Mail\MimeInterface;
@@ -127,6 +123,7 @@ class TransportBuilder
127123
* @var MimePartInterfaceFactory
128124
*/
129125
private $mimePartInterfaceFactory;
126+
130127
/**
131128
* @var MailAddressConverter|null
132129
*/
@@ -231,7 +228,6 @@ public function addBcc($address)
231228
*/
232229
public function setReplyTo($email, $name = null)
233230
{
234-
235231
$this->getMailAddresses('replyTo', $email, $name);
236232

237233
return $this;

0 commit comments

Comments
 (0)