Skip to content

Commit ad45f4b

Browse files
committed
fixes
1 parent ff0ca3d commit ad45f4b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/code/core/Mage/Core/Model/Config.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,8 +1306,10 @@ public function getPathVars($args = null)
13061306

13071307
/**
13081308
* Retrieve class name from config.xml node
1309+
*
1310+
* @return string|false
13091311
*/
1310-
public function getNodeClassName(string $path): string
1312+
public function getNodeClassName(string $path)
13111313
{
13121314
$config = Mage::getConfig()->getNode($path);
13131315
if (!$config) {
@@ -1425,8 +1427,10 @@ public function getHelperClassName($helperAlias)
14251427

14261428
/**
14271429
* Retrieve helper instance
1430+
*
1431+
* @return Mage_Core_Helper_Abstract|false
14281432
*/
1429-
public function getHelperInstance(string $helperAlias): Mage_Core_Helper_Abstract|false
1433+
public function getHelperInstance(string $helperAlias)
14301434
{
14311435
$className = $this->getHelperClassName($helperAlias);
14321436
if (!class_exists($className)) {
@@ -1523,10 +1527,9 @@ public function getResourceHelperClassName(string $moduleAlias): string|false
15231527
/**
15241528
* Retrieve resource helper instance
15251529
*
1526-
* @param string $moduleAlias
15271530
* @return Mage_Core_Model_Resource_Helper_Abstract|false
15281531
*/
1529-
public function getResourceHelperInstance(string $moduleAlias): Mage_Core_Model_Resource_Helper_Abstract|false
1532+
public function getResourceHelperInstance(string $moduleAlias)
15301533
{
15311534
$className = $this->getResourceHelperClassName($moduleAlias);
15321535
if ($className === false || !class_exists($className)) {

0 commit comments

Comments
 (0)