Skip to content

Commit 3b94b9b

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

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
use Magento\Framework\Exception\FileSystemException;
2222
use Magento\Framework\Exception\LocalizedException;
2323
use Magento\Framework\Filesystem;
24+
use Magento\Framework\Filesystem\Io\File as IoFile;
2425
use Magento\Framework\Model\ResourceModel\Db\Context;
2526
use Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\Import;
2627
use Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\RateQuery;
2728
use Magento\OfflineShipping\Model\ResourceModel\Carrier\Tablerate\RateQueryFactory;
2829
use Magento\Store\Model\StoreManagerInterface;
2930
use Psr\Log\LoggerInterface;
30-
use Magento\Framework\Filesystem\Io\File as IoFile;
3131

3232
/**
3333
* @SuppressWarnings(PHPMD.TooManyFields)
@@ -287,6 +287,7 @@ private function importData(array $fields, array $values)
287287
$connection->commit();
288288
}
289289

290+
// @codingStandardsIgnoreStart
290291
/**
291292
* Upload table rate file and import data from it
292293
*
@@ -336,6 +337,7 @@ public function uploadAndImport(DataObject $object)
336337
throw new LocalizedException($error);
337338
}
338339
}
340+
// @codingStandardsIgnoreEnd
339341

340342
/**
341343
* Extract condition name

0 commit comments

Comments
 (0)