File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
app/code/core/Mage/Core/Model Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1306,8 +1306,10 @@ public function getPathVars($args = null)
1306
1306
1307
1307
/**
1308
1308
* Retrieve class name from config.xml node
1309
+ *
1310
+ * @return string|false
1309
1311
*/
1310
- public function getNodeClassName (string $ path ): string
1312
+ public function getNodeClassName (string $ path )
1311
1313
{
1312
1314
$ config = Mage::getConfig ()->getNode ($ path );
1313
1315
if (!$ config ) {
@@ -1425,8 +1427,10 @@ public function getHelperClassName($helperAlias)
1425
1427
1426
1428
/**
1427
1429
* Retrieve helper instance
1430
+ *
1431
+ * @return Mage_Core_Helper_Abstract|false
1428
1432
*/
1429
- public function getHelperInstance (string $ helperAlias ): Mage_Core_Helper_Abstract | false
1433
+ public function getHelperInstance (string $ helperAlias )
1430
1434
{
1431
1435
$ className = $ this ->getHelperClassName ($ helperAlias );
1432
1436
if (!class_exists ($ className )) {
@@ -1523,10 +1527,9 @@ public function getResourceHelperClassName(string $moduleAlias): string|false
1523
1527
/**
1524
1528
* Retrieve resource helper instance
1525
1529
*
1526
- * @param string $moduleAlias
1527
1530
* @return Mage_Core_Model_Resource_Helper_Abstract|false
1528
1531
*/
1529
- public function getResourceHelperInstance (string $ moduleAlias ): Mage_Core_Model_Resource_Helper_Abstract | false
1532
+ public function getResourceHelperInstance (string $ moduleAlias )
1530
1533
{
1531
1534
$ className = $ this ->getResourceHelperClassName ($ moduleAlias );
1532
1535
if ($ className === false || !class_exists ($ className )) {
You can’t perform that action at this time.
0 commit comments