File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function setDataProvider(DataProviderInterface $dataProvider)
103103 public function createRssXml ()
104104 {
105105 $ feed = $ this ->feedFactory ->create (
106- $ this ->getFeeds (),
106+ $ this ->getFeeds (),
107107 FeedFactoryInterface::FORMAT_RSS
108108 );
109109
Original file line number Diff line number Diff line change @@ -18,24 +18,24 @@ public function __construct(
1818 \Zend_Feed $ feed ,
1919 array $ data
2020 ) {
21- $ this ->feed = $ feed ;
22- $ this ->data = $ data ;
21+ $ this ->feed = $ feed ;
22+ $ this ->data = $ data ;
2323 }
2424
2525 /**
2626 * Returns the formatted feed content
2727 *
2828 * @param string $format
29- *
29+ *
3030 * @return string
3131 */
3232 public function getFormattedContentAs (
3333 $ format = self ::FORMAT_XML
3434 ) {
3535 $ feed = $ this ->feed ::importArray (
36- $ this ->data ,
36+ $ this ->data ,
3737 FeedFactoryInterface::FORMAT_RSS
3838 );
3939 return $ this ->feed ->saveXml ();
4040 }
41- }
41+ }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function __construct(
4848 * {@inheritdoc}
4949 */
5050 public function create (
51- array $ data ,
51+ array $ data ,
5252 $ format = FeedFactoryInterface::FORMAT_RSS
5353 ) {
5454 if (!isset ($ this ->formats [$ format ])) {
@@ -62,7 +62,7 @@ public function create(
6262 throw new \Magento \Framework \Exception \InputException (
6363 __ ('Wrong format handler type ' ),
6464 $ e
65- );
65+ );
6666 }
6767
6868 try {
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ interface FeedFactoryInterface
1717
1818 /**
1919 * Returns FeedInterface object from a custom array
20- *
20+ *
2121 * @throws \Magento\Framework\Exception\InputException
2222 * @throws \Magento\Framework\Exception\RuntimeException
2323 * @param array $data
2424 * @param string $format
2525 * @return FeedInterface
2626 */
2727 public function create (
28- array $ data ,
28+ array $ data ,
2929 $ format = self ::FORMAT_RSS
3030 );
3131}
Original file line number Diff line number Diff line change 1010 */
1111interface FeedInterface
1212{
13- /**
13+ /**
1414 * XML feed output format
1515 */
1616 const FORMAT_XML = 'xml ' ;
1717
1818 /**
1919 * @param string $format
20- *
20+ *
2121 * @return string
2222 */
2323 public function getFormattedContentAs (
You can’t perform that action at this time.
0 commit comments