Skip to content

Commit 33f51a6

Browse files
committed
Make getImageUrl() protected to allow override for specific needs (custom image management)
1 parent b67547c commit 33f51a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Model/Indexer/Eav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ public function executeRow($id): bool
976976
* @return mixed
977977
* @throws \Magento\Framework\Exception\LocalizedException
978978
*/
979-
private function getImageUrl($store, $indexData)
979+
protected function getImageUrl($store, $indexData)
980980
{
981981
/**
982982
* Use parent image if appropriate

Model/Indexer/Flat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ public function executeRow($id)
10161016
*
10171017
* @return mixed
10181018
*/
1019-
private function getImageUrl($store, $indexData)
1019+
protected function getImageUrl($store, $indexData)
10201020
{
10211021
/**
10221022
* Use parent image if appropriate

0 commit comments

Comments
 (0)