Skip to content

Commit 04b5602

Browse files
committed
ACP2E-2093: Issue when uploading image with the same name while deleting the old image
- Fixed the CR comments.
1 parent 0bc3d1e commit 04b5602

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Catalog/Model/Product/Image/RemoveDeletedImagesFromCache.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ public function __construct(
8383
* Remove deleted images from cache.
8484
*
8585
* @param array $files
86-
* @return null
8786
* @throws FileSystemException
8887
*/
8988
public function removeDeletedImagesFromCache(array $files)
@@ -117,6 +116,5 @@ public function removeDeletedImagesFromCache(array $files)
117116
);
118117
}
119118
}
120-
return null;
121119
}
122120
}

0 commit comments

Comments
 (0)