We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb874f5 commit 89293bbCopy full SHA for 89293bb
app/code/Magento/OfflineShipping/Model/ResourceModel/Carrier/Tablerate.php
@@ -296,7 +296,6 @@ private function importData(array $fields, array $values)
296
* @todo: this method should be refactored as soon as updated design will be provided
297
* @see https://wiki.corp.x.com/display/MCOMS/Magento+Filesystem+Decisions
298
*/
299
- // @phpstan-ignore missingType.return
300
public function uploadAndImport(DataObject $object)
301
{
302
$filePath = $this->getFilePath($object);
@@ -336,6 +335,8 @@ public function uploadAndImport(DataObject $object)
336
335
);
337
throw new LocalizedException($error);
338
}
+
339
+ return $this;
340
341
342
/**
0 commit comments