Skip to content

Commit b983a37

Browse files
author
Stanislav Idolov
authored
Fixed static failures
1 parent ba5a5ff commit b983a37

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sitemap/Model/ResourceModel/Catalog

1 file changed

+2
-2
lines changed

app/code/Magento/Sitemap/Model/ResourceModel/Catalog/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function __construct(
141141
$this->catalogImageHelper = $catalogImageHelper ?: ObjectManager::getInstance()
142142
->get(\Magento\Catalog\Helper\Image::class);
143143
$this->scopeConfig = $scopeConfig ?: ObjectManager::getInstance()
144-
->get(\Magento\Framework\App\Config\ScopeConfigInterface::class);
144+
->get(\Magento\Framework\App\Config\ScopeConfigInterface::class);
145145
parent::__construct($context, $connectionName);
146146
}
147147

@@ -299,7 +299,7 @@ public function getCollection($storeId)
299299
[]
300300
)->joinLeft(
301301
['url_rewrite' => $this->getTable('url_rewrite')],
302-
'e.entity_id = url_rewrite.entity_id AND url_rewrite.is_autogenerated = 1 AND url_rewrite.metadata IS '
302+
'e.entity_id = url_rewrite.entity_id AND url_rewrite.is_autogenerated = 1 AND url_rewrite.metadata IS '
303303
. $urlsConfigCondition . 'NULL'
304304
. $connection->quoteInto(' AND url_rewrite.store_id = ?', $store->getId())
305305
. $connection->quoteInto(' AND url_rewrite.entity_type = ?', ProductUrlRewriteGenerator::ENTITY_TYPE),

0 commit comments

Comments
 (0)