Skip to content

Commit 5c5cf87

Browse files
author
Sergey Shvets
committed
MAGETWO-97345: [Magento Cloud] Import doesn't work with skip error entries
1 parent cd0c9d4 commit 5c5cf87

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import

1 file changed

+3
-3
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,14 +3106,14 @@ private function retrieveProductBySku($sku)
31063106
*
31073107
* @param int $rowNum
31083108
* @param string $errorCode Error code or simply column name
3109-
* @param string $errorLevel
3110-
* @param string $colName OPTIONAL Column name.
3109+
* @param string $errorLevel error level
3110+
* @param string|null $colName optional column name
31113111
* @return $this
31123112
*/
31133113
private function skipRow(
31143114
$rowNum,
31153115
string $errorCode,
3116-
$errorLevel = ProcessingError::ERROR_LEVEL_NOT_CRITICAL,
3116+
string $errorLevel = ProcessingError::ERROR_LEVEL_NOT_CRITICAL,
31173117
$colName = null
31183118
): self {
31193119
$this->addRowError($errorCode, $rowNum, $colName, null, $errorLevel);

0 commit comments

Comments
 (0)