Skip to content

Commit cf6e2d1

Browse files
committed
Fix static tests.
1 parent 0879ed8 commit cf6e2d1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

app/code/Magento/Newsletter/Controller/Subscriber/Confirm.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@
44
* Copyright © Magento, Inc. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7+
78
namespace Magento\Newsletter\Controller\Subscriber;
89

9-
class Confirm extends \Magento\Newsletter\Controller\Subscriber
10+
use Magento\Framework\App\Action\HttpGetActionInterface;
11+
12+
/**
13+
* Confirm subscritpion controller.
14+
*/
15+
class Confirm extends \Magento\Newsletter\Controller\Subscriber implements HttpGetActionInterface
1016
{
1117
/**
12-
* Subscription confirm action
18+
* Subscription confirm action.
19+
*
1320
* @return \Magento\Framework\Controller\Result\Redirect
1421
*/
1522
public function execute()

app/code/Magento/Newsletter/Controller/Subscriber/NewAction.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright © Magento, Inc. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7+
78
namespace Magento\Newsletter\Controller\Subscriber;
89

910
use Magento\Customer\Api\AccountManagementInterface as CustomerAccountManagement;

app/code/Magento/Newsletter/Controller/Subscriber/Unsubscribe.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Newsletter\Controller\Subscriber;
78

89
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

0 commit comments

Comments
 (0)