Skip to content

Commit 853a1e5

Browse files
committed
Fix static test
1 parent 5d175a3 commit 853a1e5

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/ExportCouponsCsv.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
@@ -15,8 +14,14 @@
1514
use Magento\SalesRule\Block\Adminhtml\Promo\Quote\Edit\Tab\Coupons\Grid;
1615
use Magento\Framework\View\Result\Layout;
1716
use Magento\Framework\App\ResponseInterface;
17+
use Magento\Framework\App\Action\HttpGetActionInterface;
1818

19-
class ExportCouponsCsv extends Quote
19+
/**
20+
* Export Coupons to csv file
21+
*
22+
* Class \Magento\SalesRule\Controller\Adminhtml\Promo\Quote\ExportCouponsCsv
23+
*/
24+
class ExportCouponsCsv extends Quote implements HttpGetActionInterface
2025
{
2126
/**
2227
* Export coupon codes as CSV file

app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/ExportCouponsXml.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
@@ -15,8 +14,14 @@
1514
use Magento\SalesRule\Block\Adminhtml\Promo\Quote\Edit\Tab\Coupons\Grid;
1615
use Magento\Framework\View\Result\Layout;
1716
use Magento\Framework\App\ResponseInterface;
17+
use Magento\Framework\App\Action\HttpGetActionInterface;
1818

19-
class ExportCouponsXml extends Quote
19+
/**
20+
* Export coupons to xml file
21+
*
22+
* Class \Magento\SalesRule\Controller\Adminhtml\Promo\Quote\ExportCouponsXml
23+
*/
24+
class ExportCouponsXml extends Quote implements HttpGetActionInterface
2025
{
2126
/**
2227
* Export coupon codes as excel xml file

0 commit comments

Comments
 (0)