Skip to content

Commit 0ca43bb

Browse files
committed
Revert "[10.x] needs to be implemented loadCurrencyWallets"
This reverts commit 75d8516.
1 parent b1dcddb commit 0ca43bb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/Services/EagerLoaderService.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,6 @@ public function __construct(
2121
}
2222

2323
public function loadWalletsByBasket(Customer $customer, BasketDtoInterface $basketDto): void
24-
{
25-
$customerWallet = $this->castService->getWallet($customer);
26-
27-
/** @var string|null $customerCurrency */
28-
$customerCurrency = $customerWallet->meta['currency'] ?? null;
29-
30-
if ($customerCurrency === null) {
31-
$this->loadDefaultWallets($basketDto);
32-
return;
33-
}
34-
35-
$this->loadCurrencyWallets($customerCurrency, $basketDto);
36-
}
37-
38-
private function loadCurrencyWallets(string $currency, BasketDtoInterface $basketDto): void
39-
{
40-
// todo: needs to be implemented
41-
}
42-
43-
private function loadDefaultWallets(BasketDtoInterface $basketDto): void
4424
{
4525
$products = [];
4626
/** @var array<array-key, array<array-key, int|string>> $productGroupIds */

0 commit comments

Comments
 (0)