Skip to content

Commit

Permalink
ENGCOM-2299: [Forwardport] typo in private method name getUniq[ue]Ima…
Browse files Browse the repository at this point in the history
…geIndex #16745

 - Merge Pull Request #16745 from eduard13/magento2:2.3-develop-port-15282
 - Merged commits:
   1. ffdd53d
  • Loading branch information
magento-engcom-team committed Jul 12, 2018
2 parents 6b7a9b3 + ffdd53d commit bfcbd22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/Magento/MediaStorage/Service/ImageResize.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private function getViewImages(array $themes): array
]);
$images = $config->getMediaEntities('Magento_Catalog', ImageHelper::MEDIA_TYPE_CONFIG_NODE);
foreach ($images as $imageId => $imageData) {
$uniqIndex = $this->getUniqImageIndex($imageData);
$uniqIndex = $this->getUniqueImageIndex($imageData);
$imageData['id'] = $imageId;
$viewImages[$uniqIndex] = $imageData;
}
Expand All @@ -211,11 +211,11 @@ private function getViewImages(array $themes): array
}

/**
* Get uniq image index
* Get unique image index
* @param array $imageData
* @return string
*/
private function getUniqImageIndex(array $imageData): string
private function getUniqueImageIndex(array $imageData): string
{
ksort($imageData);
unset($imageData['type']);
Expand Down

0 comments on commit bfcbd22

Please sign in to comment.