Skip to content

Commit

Permalink
Typo in function name fixed (stove->store)
Browse files Browse the repository at this point in the history
Even if Magento 2 is on fire, it should be called store, not stove.
  • Loading branch information
amenk committed Sep 14, 2015
1 parent b4128b2 commit 4148f9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Theme/Model/View/Design.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function getConfigurationDesignTheme($area = null, array $params = [])
$theme = null;
$store = isset($params['store']) ? $params['store'] : null;

if ($this->_isThemePerStoveView($area)) {
if ($this->_isThemePerStoreView($area)) {
if ($this->_storeManager->isSingleStoreMode()) {
$theme = $this->_scopeConfig->getValue(
self::XML_PATH_THEME_ID,
Expand Down Expand Up @@ -197,7 +197,7 @@ public function getConfigurationDesignTheme($area = null, array $params = [])
* @param string $area
* @return bool
*/
private function _isThemePerStoveView($area)
private function _isThemePerStoreView($area)
{
return $area == self::DEFAULT_AREA;
}
Expand Down

0 comments on commit 4148f9d

Please sign in to comment.