Skip to content

Commit 861e9f9

Browse files
committed
Fix Code style
1 parent b7059a6 commit 861e9f9

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Sitemap/Controller/Adminhtml/Sitemap

1 file changed

+5
-2
lines changed

app/code/Magento/Sitemap/Controller/Adminhtml/Sitemap/Generate.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ public function execute()
4949
// if sitemap record exists
5050
if ($sitemap->getId()) {
5151
try {
52-
$this->appEmulation->startEnvironmentEmulation($sitemap->getStoreId(),
53-
\Magento\Framework\App\Area::AREA_FRONTEND, true);
52+
$this->appEmulation->startEnvironmentEmulation(
53+
$sitemap->getStoreId(),
54+
\Magento\Framework\App\Area::AREA_FRONTEND,
55+
true
56+
);
5457
$sitemap->generateXml();
5558
$this->appEmulation->stopEnvironmentEmulation();
5659
$this->messageManager->addSuccessMessage(

0 commit comments

Comments
 (0)