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)
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 )) {
You can’t perform that action at this time.
0 commit comments