Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michielgerritsen committed Oct 10, 2024
1 parent 60854c8 commit 1468b62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Model/MollieConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use Magento\Checkout\Model\ConfigProviderInterface;
use Magento\Checkout\Model\Session as CheckoutSession;
use Magento\Framework\App\Request\Http;
use Magento\Framework\Locale\Resolver;
use Magento\Framework\View\Asset\Repository as AssetRepository;
use Magento\Payment\Helper\Data as PaymentHelper;
Expand Down Expand Up @@ -37,6 +38,10 @@ class MollieConfigProvider implements ConfigProviderInterface
* @var AssetRepository
*/
private $assetRepository;
/**
* @var Http
*/
private $request;
/**
* @var MollieHelper
*/
Expand Down Expand Up @@ -65,7 +70,6 @@ class MollieConfigProvider implements ConfigProviderInterface
* @var GetIssuers
*/
private $getIssuers;

/**
* @var StoreManagerInterface
*/
Expand All @@ -84,6 +88,7 @@ class MollieConfigProvider implements ConfigProviderInterface
private $mollieApiClient;

public function __construct(
Http $request,
MollieHelper $mollieHelper,
PaymentHelper $paymentHelper,
CheckoutSession $checkoutSession,
Expand All @@ -96,6 +101,7 @@ public function __construct(
SupportedNetworks $supportedNetworks,
MollieApiClient $mollieApiClient
) {
$this->request = $request;
$this->mollieHelper = $mollieHelper;
$this->paymentHelper = $paymentHelper;
$this->checkoutSession = $checkoutSession;
Expand Down
4 changes: 2 additions & 2 deletions etc/db_schema.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<!--
~ Copyright © Magmodules.eu. All rights reserved.
~ Copyright Magmodules.eu. All rights reserved.
~ See COPYING.txt for license details.
-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down Expand Up @@ -88,7 +88,7 @@
<column name="entity_id"/>
</constraint>

<index referenceId="INDEX_HASH" indexType="hash">
<index referenceId="INDEX_HASH" indexType="btree">
<column name="hash"/>
</index>
</table>
Expand Down

0 comments on commit 1468b62

Please sign in to comment.