Skip to content

Commit

Permalink
ENGCOM-3292 catalog:images:resize total images count calculates incor…
Browse files Browse the repository at this point in the history
…rectly magento#18387: magento#18807

(cherry picked from commit e1a1c7b)
  • Loading branch information
slavvka authored and vpodorozh committed Oct 27, 2018
1 parent 95eeb9f commit 84590de
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
use Magento\Framework\DB\Select;
use Magento\Framework\App\ResourceConnection;

/**
* Class for fast retrieval of all product images
/*
* Class for retrieval of all product images
*/
class Image
{
Expand Down Expand Up @@ -76,6 +76,7 @@ public function getAllProductImages(): \Generator

/**
* Get the number of unique pictures of products
*
* @return int
*/
public function getCountAllProductImages(): int
Expand All @@ -91,6 +92,8 @@ public function getCountAllProductImages(): int
}

/**
* Return Select to fetch all products images
*
* @return Select
*/
private function getVisibleImagesSelect(): Select
Expand Down

0 comments on commit 84590de

Please sign in to comment.