Skip to content

Commit 2fe3d2b

Browse files
ENGCOM-9165: Fix type error in ConfigureFedexDefaults.php (PHP 7.1 Compatibility) #33621
- Merge Pull Request #33621 from marvinhinz/magento2:patch-6 - Merged commits: 1. ef562ba
2 parents 39e1300 + ef562ba commit 2fe3d2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Fedex/Setup/Patch/Data/ConfigureFedexDefaults.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public function apply()
9797
} elseif (stripos($mapOld['path'], 'free_method') !== false && isset($codes['method'][$mapOld['value']])) {
9898
$mapNew = $codes['method'][$mapOld['value']];
9999
} elseif (stripos($mapOld['path'], 'allowed_methods') !== false) {
100+
$mapNew = [];
100101
foreach (explode(',', $mapOld['value']) as $shippingMethod) {
101102
if (isset($codes['method'][$shippingMethod])) {
102103
$mapNew[] = $codes['method'][$shippingMethod];

0 commit comments

Comments
 (0)