File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/MediaStorage/Service Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ private function getViewImages(array $themes): array
202
202
]);
203
203
$ images = $ config ->getMediaEntities ('Magento_Catalog ' , ImageHelper::MEDIA_TYPE_CONFIG_NODE );
204
204
foreach ($ images as $ imageId => $ imageData ) {
205
- $ uniqIndex = $ this ->getUniqImageIndex ($ imageData );
205
+ $ uniqIndex = $ this ->getUniqueImageIndex ($ imageData );
206
206
$ imageData ['id ' ] = $ imageId ;
207
207
$ viewImages [$ uniqIndex ] = $ imageData ;
208
208
}
@@ -211,11 +211,11 @@ private function getViewImages(array $themes): array
211
211
}
212
212
213
213
/**
214
- * Get uniq image index
214
+ * Get unique image index
215
215
* @param array $imageData
216
216
* @return string
217
217
*/
218
- private function getUniqImageIndex (array $ imageData ): string
218
+ private function getUniqueImageIndex (array $ imageData ): string
219
219
{
220
220
ksort ($ imageData );
221
221
unset($ imageData ['type ' ]);
You can’t perform that action at this time.
0 commit comments