File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -619,8 +619,7 @@ public function __construct(
619
619
\Magento \Payment \Model \Source \CctypeFactory $ cctypeFactory ,
620
620
\Magento \Paypal \Model \CertFactory $ certFactory ,
621
621
$ params = []
622
- )
623
- {
622
+ ) {
624
623
parent ::__construct ($ scopeConfig );
625
624
$ this ->directoryHelper = $ directoryHelper ;
626
625
$ this ->_storeManager = $ storeManager ;
@@ -1616,8 +1615,8 @@ protected function _mapWpukFieldset($fieldName)
1616
1615
if ($ this ->_methodCode == self ::METHOD_WPP_PE_EXPRESS && $ this ->isMethodAvailable (self ::METHOD_PAYFLOWLINK )) {
1617
1616
$ pathPrefix = 'payment/payflow_link ' ;
1618
1617
} elseif ($ this ->_methodCode == self ::METHOD_WPP_PE_EXPRESS && $ this ->isMethodAvailable (
1619
- self ::METHOD_PAYFLOWADVANCED
1620
- )
1618
+ self ::METHOD_PAYFLOWADVANCED
1619
+ )
1621
1620
) {
1622
1621
$ pathPrefix = 'payment/payflow_advanced ' ;
1623
1622
} elseif ($ this ->_methodCode == self ::METHOD_WPP_PE_EXPRESS ) {
Original file line number Diff line number Diff line change @@ -82,8 +82,7 @@ public function __construct(
82
82
StoreManagerInterface $ storeManager ,
83
83
$ disallowedFundingMap = [],
84
84
$ unsupportedPaymentMethods = []
85
- )
86
- {
85
+ ) {
87
86
$ this ->localeResolver = $ localeResolver ;
88
87
$ this ->config = $ configFactory ->create ();
89
88
$ this ->config ->setMethod (Config::METHOD_EXPRESS );
@@ -174,7 +173,8 @@ private function getClientId()
174
173
}
175
174
176
175
/**
177
- * get Configured value for paypal buyer country
176
+ * Get Configured value for paypal buyer country
177
+ *
178
178
* @return string
179
179
*/
180
180
private function getBuyerCountry ()
Original file line number Diff line number Diff line change @@ -97,8 +97,7 @@ public function testGetConfig(
97
97
bool $ isBuyerCountryEnabled ,
98
98
bool $ isPaypalGuestCheckoutEnabled ,
99
99
array $ expected
100
- )
101
- {
100
+ ) {
102
101
$ this ->localeResolverMock ->method ('getLocale ' )->willReturn ($ locale );
103
102
$ this ->configMock ->method ('getValue ' )->willReturnMap (
104
103
[
You can’t perform that action at this time.
0 commit comments