From f47796d69a7ba66431d8ec582771ce8d61a4a953 Mon Sep 17 00:00:00 2001 From: woutse Date: Thu, 29 Sep 2022 11:41:47 +0200 Subject: [PATCH] Fixed constructor reference --- Controller/Adminhtml/Order/Instore.php | 2 +- Controller/Adminhtml/Order/Logs.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Controller/Adminhtml/Order/Instore.php b/Controller/Adminhtml/Order/Instore.php index 807442b7..34bbb85b 100644 --- a/Controller/Adminhtml/Order/Instore.php +++ b/Controller/Adminhtml/Order/Instore.php @@ -37,7 +37,7 @@ public function validateForCsrf(RequestInterface $request): bool * @param Magento\Payment\Helper\Data $paymentHelper */ public function __construct( - \Magento\Framework\App\Action\Context $context, + \Magento\Backend\App\Action\Context $context, OrderRepository $orderRepository, PaymentHelper $paymentHelper, QuoteRepository $quoteRepository, diff --git a/Controller/Adminhtml/Order/Logs.php b/Controller/Adminhtml/Order/Logs.php index 84ee9524..10476410 100644 --- a/Controller/Adminhtml/Order/Logs.php +++ b/Controller/Adminhtml/Order/Logs.php @@ -14,8 +14,9 @@ class Logs extends \Magento\Backend\App\Action protected $resultFactory; protected $redirect; private $authorization; + public function __construct( - \Magento\Framework\App\Action\Context $context, + \Magento\Backend\App\Action\Context $context, \Magento\Framework\App\Response\Http\FileFactory $fileFactory, \Magento\Framework\App\Filesystem\DirectoryList $directoryList, AuthorizationInterface $authorization,