Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit f936604

Browse files
author
Carlos Lizaga
committed
Fix PHPDoc for uploadMediaFiles function in order to show $renameFileOff
param as optional set as false by default.
1 parent d4e666f commit f936604

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,6 +2029,8 @@ public function getUploader()
20292029
* Return a new file name if the same file is already exists.
20302030
*
20312031
* @param string $fileName
2032+
* @param bool $renameFileOff [optional] boolean to pass. Default is false
2033+
* which will set not to rename the file after import.
20322034
* @return string
20332035
*/
20342036
protected function uploadMediaFiles($fileName, $renameFileOff = false)

0 commit comments

Comments
 (0)