Skip to content

Commit 20f485e

Browse files
author
Volodymyr Kublytskyi
committed
MAGETWO-62667: [GITHUB] 3rd party payment gateways not visible in adminhtml anymore on 2.1.3 #7891
- fixed typos
1 parent e4b1c52 commit 20f485e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ private function restructurePayments(Section $result)
142142
$sectionInitialStructure = isset($sectionData['children']) ? $sectionData['children'] : [];
143143
$sectionChangedStructure = $this->paymentSectionModifier->modify($sectionInitialStructure);
144144
$sectionData['children'] = $sectionChangedStructure;
145-
$result->setData($sectionData, $this->_scopeDefiner->getScope());
145+
$result->setData($sectionData, $this->scopeDefiner->getScope());
146146
}
147147
}

app/code/Magento/Paypal/Test/Unit/Model/Config/Structure/PaymentSectionModifierTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ private function fetchAllAvailableGroups($structure)
177177

178178
public function caseProvider()
179179
{
180-
return __DIR__ . '/_files/payment_section_structure_variations.php';
180+
return include __DIR__ . '/_files/payment_section_structure_variations.php';
181181
}
182182
}

0 commit comments

Comments
 (0)