Skip to content

Commit d7a2e39

Browse files
committed
Fix typo in variable name
1 parent 78dec58 commit d7a2e39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sitemap/Block/Robots.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public function __construct(
7979
protected function _toHtml()
8080
{
8181
$defaultStoreId = $this->storeResolver->getCurrentStoreId();
82-
$defalutStore = $this->storeManager->getStore($defaultStoreId);
82+
$defaultStore = $this->storeManager->getStore($defaultStoreId);
8383

8484
/** @var \Magento\Store\Model\Website $website */
85-
$website = $this->storeManager->getWebsite($defalutStore->getWebsiteId());
85+
$website = $this->storeManager->getWebsite($defaultStore->getWebsiteId());
8686

8787
$storeIds = [];
8888
foreach ($website->getStoreIds() as $storeId) {

0 commit comments

Comments
 (0)