Skip to content

Commit 89293bb

Browse files
committed
ACP2E-2129: customer is reporting their table rates are not updating via CSV any longer
- addressed static report
1 parent fb874f5 commit 89293bb

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier

1 file changed

+2
-1
lines changed

app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ private function importData(array $fields, array $values)
296296
* @todo: this method should be refactored as soon as updated design will be provided
297297
* @see https://wiki.corp.x.com/display/MCOMS/Magento+Filesystem+Decisions
298298
*/
299-
// @phpstan-ignore missingType.return
300299
public function uploadAndImport(DataObject $object)
301300
{
302301
$filePath = $this->getFilePath($object);
@@ -336,6 +335,8 @@ public function uploadAndImport(DataObject $object)
336335
);
337336
throw new LocalizedException($error);
338337
}
338+
339+
return $this;
339340
}
340341

341342
/**

0 commit comments

Comments
 (0)