Skip to content

Commit e8c5d89

Browse files
committed
changes after automation tests
1 parent 2fd31d4 commit e8c5d89

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

app/code/Magento/Paypal/Model/Config.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,7 @@ public function __construct(
619619
\Magento\Payment\Model\Source\CctypeFactory $cctypeFactory,
620620
\Magento\Paypal\Model\CertFactory $certFactory,
621621
$params = []
622-
)
623-
{
622+
) {
624623
parent::__construct($scopeConfig);
625624
$this->directoryHelper = $directoryHelper;
626625
$this->_storeManager = $storeManager;
@@ -1616,8 +1615,8 @@ protected function _mapWpukFieldset($fieldName)
16161615
if ($this->_methodCode == self::METHOD_WPP_PE_EXPRESS && $this->isMethodAvailable(self::METHOD_PAYFLOWLINK)) {
16171616
$pathPrefix = 'payment/payflow_link';
16181617
} elseif ($this->_methodCode == self::METHOD_WPP_PE_EXPRESS && $this->isMethodAvailable(
1619-
self::METHOD_PAYFLOWADVANCED
1620-
)
1618+
self::METHOD_PAYFLOWADVANCED
1619+
)
16211620
) {
16221621
$pathPrefix = 'payment/payflow_advanced';
16231622
} elseif ($this->_methodCode == self::METHOD_WPP_PE_EXPRESS) {

app/code/Magento/Paypal/Model/SdkUrl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public function __construct(
8282
StoreManagerInterface $storeManager,
8383
$disallowedFundingMap = [],
8484
$unsupportedPaymentMethods = []
85-
)
86-
{
85+
) {
8786
$this->localeResolver = $localeResolver;
8887
$this->config = $configFactory->create();
8988
$this->config->setMethod(Config::METHOD_EXPRESS);
@@ -174,7 +173,8 @@ private function getClientId()
174173
}
175174

176175
/**
177-
* get Configured value for paypal buyer country
176+
* Get Configured value for paypal buyer country
177+
*
178178
* @return string
179179
*/
180180
private function getBuyerCountry()

app/code/Magento/Paypal/Test/Unit/Model/SdkUrlTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ public function testGetConfig(
9797
bool $isBuyerCountryEnabled,
9898
bool $isPaypalGuestCheckoutEnabled,
9999
array $expected
100-
)
101-
{
100+
) {
102101
$this->localeResolverMock->method('getLocale')->willReturn($locale);
103102
$this->configMock->method('getValue')->willReturnMap(
104103
[

0 commit comments

Comments
 (0)