Skip to content

Commit 2640e04

Browse files
MC-5545: RSS feed works only from cache
1 parent 14cb8dc commit 2640e04

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Rss/NotifyStock.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
/**
1111
* Class NotifyStock
12+
*
1213
* @package Magento\Catalog\Block\Adminhtml\Rss
1314
*/
1415
class NotifyStock extends \Magento\Backend\Block\AbstractBlock implements DataProviderInterface
@@ -41,7 +42,7 @@ public function __construct(
4142
}
4243

4344
/**
44-
* @return void
45+
* @inheritdoc
4546
*/
4647
protected function _construct()
4748
{
@@ -50,7 +51,7 @@ protected function _construct()
5051
}
5152

5253
/**
53-
* {@inheritdoc}
54+
* @inheritdoc
5455
*/
5556
public function getRssData()
5657
{
@@ -73,31 +74,31 @@ public function getRssData()
7374
}
7475

7576
/**
76-
* {@inheritdoc}
77+
* @inheritdoc
7778
*/
7879
public function getCacheLifetime()
7980
{
8081
return 600;
8182
}
8283

8384
/**
84-
* {@inheritdoc}
85+
* @inheritdoc
8586
*/
8687
public function isAllowed()
8788
{
8889
return true;
8990
}
9091

9192
/**
92-
* {@inheritdoc}
93+
* @inheritdoc
9394
*/
9495
public function getFeeds()
9596
{
9697
return [];
9798
}
9899

99100
/**
100-
* {@inheritdoc}
101+
* @inheritdoc
101102
*/
102103
public function isAuthRequired()
103104
{

0 commit comments

Comments
 (0)