Skip to content

Commit

Permalink
Fixed constructor reference
Browse files Browse the repository at this point in the history
  • Loading branch information
woutse committed Sep 29, 2022
1 parent 5fc60d4 commit f47796d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/Adminhtml/Order/Instore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion Controller/Adminhtml/Order/Logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f47796d

Please sign in to comment.