@@ -498,10 +498,10 @@ private static function cloneFile($src_file, $dst_file, array $patKeys, array $p
498498
499499 /**
500500 * get form with all existing modules
501- * @param bool $action
501+ * @param string|false $action
502502 * @return \XoopsSimpleForm
503503 */
504- public static function getFormModulesFq (bool $ action = false )
504+ public static function getFormModulesFq (string | false $ action = false )
505505 {
506506 if (!$ action ) {
507507 $ action = $ _SERVER ['REQUEST_URI ' ];
@@ -527,10 +527,10 @@ public static function getFormModulesFq(bool $action = false)
527527
528528 /**
529529 * get form with all existing modules
530- * @param bool $action
530+ * @param string|false $action
531531 * @return \XoopsSimpleForm
532532 */
533- public static function getFormModulesCl (bool $ action = false )
533+ public static function getFormModulesCl (string | false $ action = false )
534534 {
535535 if (!$ action ) {
536536 $ action = $ _SERVER ['REQUEST_URI ' ];
@@ -556,10 +556,10 @@ public static function getFormModulesCl(bool $action = false)
556556
557557 /**
558558 * get form with all existing modules
559- * @param bool $action
559+ * @param string|false $action
560560 * @return \XoopsSimpleForm
561561 */
562- public static function getFormModulesTab (bool $ action = false )
562+ public static function getFormModulesTab (string | false $ action = false )
563563 {
564564 if (!$ action ) {
565565 $ action = $ _SERVER ['REQUEST_URI ' ];
@@ -585,10 +585,11 @@ public static function getFormModulesTab(bool $action = false)
585585
586586 /**
587587 * get form with all existing modules
588- * @param bool $action
588+ * @param string $dst_path
589+ * @param string|false $action
589590 * @return \XoopsSimpleForm
590591 */
591- public static function getFormModulesRemovePrefix ($ dst_path , bool $ action = false )
592+ public static function getFormModulesRemovePrefix (string $ dst_path , string | false $ action = false )
592593 {
593594 if (!$ action ) {
594595 $ action = $ _SERVER ['REQUEST_URI ' ];
0 commit comments