@@ -1552,7 +1552,7 @@ public function getImagesFromRow(array $rowData)
15521552 * @SuppressWarnings(PHPMD.NPathComplexity)
15531553 * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
15541554 * @SuppressWarnings(PHPMD.UnusedLocalVariable)
1555- * @throws \Magento\Framework\Exception\ LocalizedException
1555+ * @throws LocalizedException
15561556 */
15571557 protected function _saveProducts ()
15581558 {
@@ -1816,7 +1816,7 @@ protected function _saveProducts()
18161816 ) {
18171817 $ attrValue = $ this ->dateTime ->formatDate ($ attrValue , false );
18181818 } elseif ('datetime ' == $ attribute ->getBackendType () && strtotime ($ attrValue )) {
1819- $ attrValue = gmdate (
1819+ $ attrValue = $ this -> dateTime -> gmDate (
18201820 'Y-m-d H:i:s ' ,
18211821 $ this ->_localeDate ->date ($ attrValue )->getTimestamp ()
18221822 );
@@ -2031,8 +2031,7 @@ public function getUploader()
20312031 * Return a new file name if the same file is already exists.
20322032 *
20332033 * @param string $fileName
2034- * @param bool $renameFileOff [optional] boolean to pass. Default is false
2035- * which will set not to rename the file after import.
2034+ * @param bool $renameFileOff
20362035 * @return string
20372036 */
20382037 protected function uploadMediaFiles ($ fileName , $ renameFileOff = false )
@@ -2241,7 +2240,7 @@ protected function _saveStockItem()
22412240 $ stockItemDo ->setData ($ row );
22422241 $ row ['is_in_stock ' ] = $ this ->stockStateProvider ->verifyStock ($ stockItemDo );
22432242 if ($ this ->stockStateProvider ->verifyNotification ($ stockItemDo )) {
2244- $ row ['low_stock_date ' ] = gmdate (
2243+ $ row ['low_stock_date ' ] = $ this -> dateTime -> gmDate (
22452244 'Y-m-d H:i:s ' ,
22462245 (new \DateTime ())->getTimestamp ()
22472246 );
@@ -2757,9 +2756,7 @@ private function _customFieldsMapping($rowData)
27572756 }
27582757
27592758 /**
2760- * Validate data rows and save bunches to DB
2761- *
2762- * @return $this|\Magento\ImportExport\Model\Import\Entity\AbstractEntity
2759+ * {@inheritdoc}
27632760 */
27642761 protected function _saveValidatedBunches ()
27652762 {
0 commit comments