Skip to content

Commit 5afa7d3

Browse files
author
Stanislav Idolov
authored
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #14189: fix incorrect phpdoc return type (by @EliasZ) - #14154: catalog:images:resize CLI command fix (by @nfourteen)
2 parents 124d8fe + 79e72bc commit 5afa7d3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Catalog/Console/Command/ImagesResizeCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
7070
$productIds = $productCollection->getAllIds();
7171
if (!count($productIds)) {
7272
$output->writeln("<info>No product images to resize</info>");
73-
// we must have an exit code higher than zero to indicate something was wrong
7473
return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
7574
}
7675

app/code/Magento/Catalog/Model/ResourceModel/Collection/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function getDefaultStoreId()
140140
*
141141
* @param string $table
142142
* @param array|int $attributeIds
143-
* @return \Magento\Eav\Model\Entity\Collection\AbstractCollection
143+
* @return \Magento\Framework\DB\Select
144144
*/
145145
protected function _getLoadAttributesSelect($table, $attributeIds = [])
146146
{

0 commit comments

Comments
 (0)