File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Newsletter/Controller/Adminhtml/Subscriber Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
namespace Magento \Newsletter \Controller \Adminhtml \Subscriber ;
10
10
11
11
use Magento \Backend \App \Action \Context ;
12
- use Magento \Framework \App \Action \HttpGetActionInterface ;
12
+ use Magento \Framework \App \Action \HttpPostActionInterface ;
13
13
use Magento \Framework \App \ObjectManager ;
14
14
use Magento \Framework \App \Response \Http \FileFactory ;
15
15
use Magento \Newsletter \Controller \Adminhtml \Subscriber ;
16
16
use Magento \Newsletter \Model \SubscriberFactory ;
17
17
18
- class MassUnsubscribe extends Subscriber implements HttpGetActionInterface
18
+ class MassUnsubscribe extends Subscriber implements HttpPostActionInterface
19
19
{
20
20
/**
21
21
* @var SubscriberFactory
@@ -41,7 +41,7 @@ public function __construct(
41
41
*
42
42
* @return void
43
43
*/
44
- public function execute ()
44
+ public function execute (): void
45
45
{
46
46
$ subscribersIds = $ this ->getRequest ()->getParam ('subscriber ' );
47
47
if (!is_array ($ subscribersIds )) {
You can’t perform that action at this time.
0 commit comments