We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 3a1000dd authored by Anton Evers's avatar Anton Evers Committed by GitHub

Fix errors during compilation

```
Errors during compilation:
	Adyen\Payment\Block\Redirect\Validate3d
		Incorrect dependency in class Adyen\Payment\Block\Redirect\Validate3d in /var/www/html/vendor/adyen/module-payment/Block/Redirect/Validate3d.php
\Magento\Framework\App\RequestInterface already exists in context object
Total Errors Count: 1
```
parent d074fb40
......@@ -58,12 +58,11 @@ class Validate3d extends \Magento\Payment\Block\Form
\Magento\Framework\View\Element\Template\Context $context,
array $data = [],
\Magento\Sales\Model\OrderFactory $orderFactory,
\Magento\Checkout\Model\Session $checkoutSession,
\Magento\Framework\App\RequestInterface $request
\Magento\Checkout\Model\Session $checkoutSession
) {
$this->_orderFactory = $orderFactory;
$this->_checkoutSession = $checkoutSession;
$this->_request = $request;
$this->_request = $context->getRequest();
parent::__construct($context, $data);
$this->_getOrder();
}
......@@ -135,4 +134,4 @@ class Validate3d extends \Magento\Payment\Block\Form
return $this->_request;
}
}
\ No newline at end of file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment