Skip to content

Commit 3a3683f

Browse files
committed
Code style fixes
1 parent 46c51ba commit 3a3683f

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

app/code/Magento/Rss/Model/Rss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

lib/internal/Magento/Framework/App/Feed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
}

lib/internal/Magento/Framework/App/FeedFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

lib/internal/Magento/Framework/App/FeedFactoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

lib/internal/Magento/Framework/App/FeedInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
*/
1111
interface 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(

0 commit comments

Comments
 (0)