Skip to content

Commit e6408af

Browse files
author
Prabhu Ram
committed
MC-16073: POC to process a payment using Authorize.net method
- addressed review comments
1 parent 4dcd2f0 commit e6408af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/SetPaymentMethodOnCart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(
6262
$this->paymentMethodManagement = $paymentMethodManagement;
6363
$this->paymentFactory = $paymentFactory;
6464
$this->additionalDataProviderPool = $additionalDataProviderPool
65-
?? ObjectManager::getInstance(AdditionalDataProviderPool::class);
65+
?: ObjectManager::getInstance()->get(AdditionalDataProviderPool::class);
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)