Skip to content

Commit 9775528

Browse files
committed
fix phpcs fix
1 parent f3ef0ce commit 9775528

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Catalog/Block/Rss/Category.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ public function getRssData()
123123
$title = $category->getName();
124124
$data = ['title' => $title, 'description' => $title, 'link' => $newUrl, 'charset' => 'UTF-8'];
125125

126-
$attributes = $this->_viewConfig->getViewConfig()
127-
->getMediaAttributes('Magento_Catalog', $this->imageHelper::MEDIA_TYPE_CONFIG_NODE, 'rss_thumbnail');
128-
126+
$attributes = $this->_viewConfig->getViewConfig()->getMediaAttributes('Magento_Catalog', $this->imageHelper::MEDIA_TYPE_CONFIG_NODE, 'rss_thumbnail');
129127
/** @var $product \Magento\Catalog\Model\Product */
130128
foreach ($this->rssModel->getProductCollection($category, $this->getStoreId()) as $product) {
131129
$product->setAllowedInRss(true);

0 commit comments

Comments
 (0)