Skip to content

Commit

Permalink
Make getImageUrl() protected to allow override for specific needs (cu…
Browse files Browse the repository at this point in the history
…stom image management)
  • Loading branch information
Florkin committed Dec 19, 2022
1 parent b67547c commit 6500539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Model/Indexer/Eav.php
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ public function executeRow($id): bool
* @return mixed
* @throws \Magento\Framework\Exception\LocalizedException
*/
private function getImageUrl($store, $indexData)
public function getImageUrl($store, $indexData)
{
/**
* Use parent image if appropriate
Expand Down
2 changes: 1 addition & 1 deletion Model/Indexer/Flat.php
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ public function executeRow($id)
*
* @return mixed
*/
private function getImageUrl($store, $indexData)
public function getImageUrl($store, $indexData)
{
/**
* Use parent image if appropriate
Expand Down

0 comments on commit 6500539

Please sign in to comment.