File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public function setDataProvider(DataProviderInterface $dataProvider)
102102 public function createRssXml ()
103103 {
104104 $ feed = $ this ->feedFactory ->importArray (
105- $ this ->getFeeds (),
105+ $ this ->getFeeds (),
106106 \Magento \Framework \App \FeedFormatsInterface::DEFAULT_FORMAT
107107 );
108108
Original file line number Diff line number Diff line change 55 */
66namespace Magento \Framework \App ;
77
8- use Magento \Framework \App \FeedFactory ;
9- use Magento \Framework \App \FeedFactoryInterface ;
108use Psr \Log \LoggerInterface ;
119
1210/**
@@ -40,12 +38,12 @@ public function __construct(
4038 * Get a new \Magento\Framework\App\Feed object from a custom array
4139 *
4240 * @throws \Magento\Framework\Exception\InputException
43- * @param array $data
44- * @param string $format
41+ * @param array $data
42+ * @param string $format
4543 * @return \Magento\Framework\App\FeedInterface
4644 */
4745 public function create (
48- array $ data ,
46+ array $ data ,
4947 $ format = FeedFactoryInterface::DEFAULT_FORMAT
5048 ) {
5149 try {
Original file line number Diff line number Diff line change 77
88interface FeedFactoryInterface
99{
10-
1110 const DEFAULT_FORMAT = 'rss ' ;
1211
1312 /**
1413 * Returns FeedInterface object from a custom array
15- *
14+ *
1615 * @throws \Magento\Framework\Exception\RuntimeException
17- * @param array $data
18- * @param string $format
16+ * @param array $data
17+ * @param string $format
1918 * @return FeedInterface
2019 */
2120 public function create (
22- array $ data ,
21+ array $ data ,
2322 $ format = self ::DEFAULT_FORMAT
2423 );
2524}
You can’t perform that action at this time.
0 commit comments