Skip to content

Commit ef562ba

Browse files
authored
Fix type error in ConfigureFedexDefaults.php
1 parent 77bfde9 commit ef562ba

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)