File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Console/Command Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ private function getViewImages(array $themes): array
216
216
]);
217
217
$ images = $ config ->getMediaEntities ('Magento_Catalog ' , ImageHelper::MEDIA_TYPE_CONFIG_NODE );
218
218
foreach ($ images as $ imageId => $ imageData ) {
219
- $ uniqIndex = $ this ->getUniqImageIndex ($ imageData );
219
+ $ uniqIndex = $ this ->getUniqueImageIndex ($ imageData );
220
220
$ imageData ['id ' ] = $ imageId ;
221
221
$ viewImages [$ uniqIndex ] = $ imageData ;
222
222
}
@@ -225,11 +225,11 @@ private function getViewImages(array $themes): array
225
225
}
226
226
227
227
/**
228
- * Get uniq image index
228
+ * Get unique image index
229
229
* @param array $imageData
230
230
* @return string
231
231
*/
232
- private function getUniqImageIndex (array $ imageData ): string
232
+ private function getUniqueImageIndex (array $ imageData ): string
233
233
{
234
234
ksort ($ imageData );
235
235
unset($ imageData ['type ' ]);
You can’t perform that action at this time.
0 commit comments