@@ -55,7 +55,7 @@ class GuestPaymentInformationManagement implements \Magento\Checkout\Api\GuestPa
55
55
/**
56
56
* @var ResourceConnection
57
57
*/
58
- private $ connectionPull ;
58
+ private $ connectionPool ;
59
59
60
60
/**
61
61
* @param \Magento\Quote\Api\GuestBillingAddressManagementInterface $billingAddressManagement
@@ -74,15 +74,15 @@ public function __construct(
74
74
\Magento \Checkout \Api \PaymentInformationManagementInterface $ paymentInformationManagement ,
75
75
\Magento \Quote \Model \QuoteIdMaskFactory $ quoteIdMaskFactory ,
76
76
CartRepositoryInterface $ cartRepository ,
77
- ResourceConnection $ connectionPull = null
77
+ ResourceConnection $ connectionPool = null
78
78
) {
79
79
$ this ->billingAddressManagement = $ billingAddressManagement ;
80
80
$ this ->paymentMethodManagement = $ paymentMethodManagement ;
81
81
$ this ->cartManagement = $ cartManagement ;
82
82
$ this ->paymentInformationManagement = $ paymentInformationManagement ;
83
83
$ this ->quoteIdMaskFactory = $ quoteIdMaskFactory ;
84
84
$ this ->cartRepository = $ cartRepository ;
85
- $ this ->connectionPull = $ connectionPull ?: ObjectManager::getInstance ()->get (ResourceConnection::class);
85
+ $ this ->connectionPool = $ connectionPool ?: ObjectManager::getInstance ()->get (ResourceConnection::class);
86
86
}
87
87
88
88
/**
@@ -94,8 +94,8 @@ public function savePaymentInformationAndPlaceOrder(
94
94
\Magento \Quote \Api \Data \PaymentInterface $ paymentMethod ,
95
95
\Magento \Quote \Api \Data \AddressInterface $ billingAddress = null
96
96
) {
97
- $ salesConnection = $ this ->connectionPull ->getConnection ('sales ' );
98
- $ checkoutConnection = $ this ->connectionPull ->getConnection ('checkout ' );
97
+ $ salesConnection = $ this ->connectionPool ->getConnection ('sales ' );
98
+ $ checkoutConnection = $ this ->connectionPool ->getConnection ('checkout ' );
99
99
$ salesConnection ->beginTransaction ();
100
100
$ checkoutConnection ->beginTransaction ();
101
101
0 commit comments