File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Paypal/Model Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public function getUrl(): string
111111 'client-id ' => $ this ->getClientId (),
112112 'locale ' => $ this ->localeResolver ->getLocale (),
113113 'currency ' => $ this ->storeManager ->getStore ()->getBaseCurrencyCode (),
114- 'enable-funding ' => $ this ->getAllowedFunding ()
114+ 'enable-funding ' => $ this ->getAllowedFunding (),
115115 ];
116116
117117 if ($ this ->areMessagesEnabled ()) {
@@ -215,8 +215,9 @@ private function getAllowedFunding(): string
215215 $ payLaterActive = (bool )$ this ->config ->getPayLaterConfigValue ('experience_active ' );
216216
217217 // If Pay Later is disabled, paylater parameter will be removed from enable-funding parameter list
218- if ($ payLaterActive === false ) {
218+ if (! $ payLaterActive ) {
219219 unset($ this ->supportedPaymentMethods ['paylater ' ]);
220+
220221 }
221222 return implode (', ' , $ this ->supportedPaymentMethods );
222223 }
You can’t perform that action at this time.
0 commit comments