Skip to content

Commit f4aff37

Browse files
committed
Merge remote-tracking branch 'mainline/develop' into MAGETWO-35183
2 parents 0453a96 + 124e8db commit f4aff37

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

app/code/Magento/Sales/Controller/Guest/PrintAction.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@
66
*/
77
namespace Magento\Sales\Controller\Guest;
88

9+
use Magento\Framework\App\Action\Context;
10+
use Magento\Framework\View\Result\PageFactory;
11+
912
class PrintAction extends \Magento\Sales\Controller\AbstractController\PrintAction
1013
{
14+
/**
15+
* @param Context $context
16+
* @param OrderLoader $orderLoader
17+
* @param PageFactory $resultPageFactory
18+
*/
19+
public function __construct(
20+
Context $context,
21+
\Magento\Sales\Controller\Guest\OrderLoader $orderLoader,
22+
PageFactory $resultPageFactory
23+
) {
24+
parent::__construct($context, $orderLoader, $resultPageFactory);
25+
}
1126
}

app/code/Magento/Sales/Controller/Guest/Reorder.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@
66
*/
77
namespace Magento\Sales\Controller\Guest;
88

9+
use Magento\Framework\App\Action;
10+
use Magento\Framework\Controller\Result\RedirectFactory;
11+
912
class Reorder extends \Magento\Sales\Controller\AbstractController\Reorder
1013
{
14+
/**
15+
* @param Action\Context $context
16+
* @param \Magento\Sales\Controller\Guest\OrderLoader $orderLoader
17+
* @param \Magento\Framework\Registry $registry
18+
* @param \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory
19+
*/
20+
public function __construct(
21+
Action\Context $context,
22+
\Magento\Sales\Controller\Guest\OrderLoader $orderLoader,
23+
\Magento\Framework\Registry $registry,
24+
RedirectFactory $resultRedirectFactory
25+
) {
26+
parent::__construct($context, $orderLoader, $registry, $resultRedirectFactory);
27+
}
1128
}

0 commit comments

Comments
 (0)