Skip to content

Commit

Permalink
Resolve phpstan doc block issues
Browse files Browse the repository at this point in the history
  • Loading branch information
elidrissidev committed Jun 8, 2022
1 parent ac00113 commit 0fba5a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/code/core/Mage/Adminhtml/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public function __construct()
$this->setCacheTags([Mage_Core_Model_Config::CACHE_TAG]);
$usesCache = Mage::app()->useCache('config');
if (!$usesCache || !$this->loadCache()) {
/** @var Mage_Core_Model_Config_Base $config */
$this->_config = Mage::getConfig()->loadModulesConfiguration('system.xml')
->applyExtends();
if ($usesCache) {
Expand All @@ -106,7 +105,7 @@ public function __construct()
}

/**
* @param $tags
* @param array|null $tags
* @return $this|Mage_Adminhtml_Model_Config
*/
public function saveCache($tags=null)
Expand Down

0 comments on commit 0fba5a3

Please sign in to comment.