Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinverschoor committed Jul 7, 2023
1 parent c932283 commit 85782f0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Controller/Checkout/Finish.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\Event\ManagerInterface;
use Magento\Quote\Model\QuoteFactory;
use Magento\Quote\Model\QuoteRepository;
use Magento\Sales\Model\Order;
use Magento\Sales\Model\OrderRepository;
Expand Down Expand Up @@ -52,6 +53,11 @@ class Finish extends PayAction
*/
private $eventManager;

/**
* @var QuoteFactory
*/
private $quoteFactory;

/**
* Index constructor.
* @param Context $context
Expand All @@ -61,6 +67,7 @@ class Finish extends PayAction
* @param QuoteRepository $quoteRepository
* @param PayHelper $payHelper
* @param ManagerInterface $eventManager
* @param QuoteFactory $quoteFactory
*/
public function __construct(
Context $context,
Expand All @@ -69,14 +76,16 @@ public function __construct(
OrderRepository $orderRepository,
QuoteRepository $quoteRepository,
PayHelper $payHelper,
ManagerInterface $eventManager
ManagerInterface $eventManager,
QuoteFactory $quoteFactory
) {
$this->config = $config;
$this->checkoutSession = $checkoutSession;
$this->orderRepository = $orderRepository;
$this->quoteRepository = $quoteRepository;
$this->payHelper = $payHelper;
$this->eventManager = $eventManager;
$this->quoteFactory = $quoteFactory;
parent::__construct($context);
}

Expand Down

0 comments on commit 85782f0

Please sign in to comment.