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 99namespace Magento \Newsletter \Controller \Adminhtml \Subscriber ;
1010
1111use Magento \Backend \App \Action \Context ;
12- use Magento \Framework \App \Action \HttpGetActionInterface ;
12+ use Magento \Framework \App \Action \HttpPostActionInterface ;
1313use Magento \Framework \App \ObjectManager ;
1414use Magento \Framework \App \Response \Http \FileFactory ;
1515use Magento \Newsletter \Controller \Adminhtml \Subscriber ;
1616use Magento \Newsletter \Model \SubscriberFactory ;
1717
18- class MassUnsubscribe extends Subscriber implements HttpGetActionInterface
18+ class MassUnsubscribe extends Subscriber implements HttpPostActionInterface
1919{
2020 /**
2121 * @var SubscriberFactory
@@ -41,7 +41,7 @@ public function __construct(
4141 *
4242 * @return void
4343 */
44- public function execute ()
44+ public function execute (): void
4545 {
4646 $ subscribersIds = $ this ->getRequest ()->getParam ('subscriber ' );
4747 if (!is_array ($ subscribersIds )) {
You can’t perform that action at this time.
0 commit comments