Skip to content

Commit 210abe8

Browse files
authored
Merge pull request #97 from BitBagCommerce/feature/update_shopware_6.4.19
Updated typehint for paymentMethodRepository
2 parents c446179 + 14f4a9f commit 210abe8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bitbag/shopware-inpost-plugin",
33
"description": "InPost integration for Shopware",
4-
"version": "1.2.5",
4+
"version": "1.2.6",
55
"type": "shopware-platform-plugin",
66
"license": "MIT",
77
"authors": [

src/Finder/CashOnDeliveryPaymentMethodFinder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
namespace BitBag\ShopwareInPostPlugin\Finder;
1212

1313
use Shopware\Core\Checkout\Payment\Cart\PaymentHandler\CashPayment;
14-
use Shopware\Core\Checkout\Payment\DataAbstractionLayer\PaymentMethodRepositoryDecorator;
1514
use Shopware\Core\Framework\Context;
15+
use Shopware\Core\Framework\DataAbstractionLayer\EntityRepositoryInterface;
1616
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
1717
use Shopware\Core\Framework\DataAbstractionLayer\Search\Filter\EqualsFilter;
1818
use Shopware\Core\Framework\DataAbstractionLayer\Search\IdSearchResult;
1919

2020
final class CashOnDeliveryPaymentMethodFinder implements CashOnDeliveryPaymentMethodFinderInterface
2121
{
22-
private PaymentMethodRepositoryDecorator $paymentMethodRepository;
22+
private EntityRepositoryInterface $paymentMethodRepository;
2323

24-
public function __construct(PaymentMethodRepositoryDecorator $paymentMethodRepository)
24+
public function __construct(EntityRepositoryInterface $paymentMethodRepository)
2525
{
2626
$this->paymentMethodRepository = $paymentMethodRepository;
2727
}

src/Resources/app/storefront/dist/storefront/js/bit-bag-shopware-in-post-plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)