@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | * @param string $extra |
570 | 570 | * @param int $scount |
571 | 571 | * |
572 | - * @return null |
|
572 | + * @return false|null |
|
573 | 573 | */ |
574 | 574 | public static function getAdminMenu($header = '', $menu = '', $extra = '', $scount = 4) |
575 | 575 | { |
@@ -981,7 +981,7 @@ discard block |
||
981 | 981 | * @param string $art |
982 | 982 | * @param string $_this |
983 | 983 | * |
984 | - * @return null |
|
984 | + * @return false|null |
|
985 | 985 | */ |
986 | 986 | public static function getLinkListPageNav($pubrowamount, $start, $art = 'art', $_this = '') |
987 | 987 | { |
@@ -1005,7 +1005,7 @@ discard block |
||
1005 | 1005 | * @param string $art |
1006 | 1006 | * @param string $_this |
1007 | 1007 | * |
1008 | - * @return null |
|
1008 | + * @return false|null |
|
1009 | 1009 | */ |
1010 | 1010 | public static function getLinkListPageNavLeft($pubrowamount, $start, $art = 'art', $_this = '') |
1011 | 1011 | { |
@@ -1026,8 +1026,8 @@ discard block |
||
1026 | 1026 | // Retreive an editor according to the module's option "form_options" |
1027 | 1027 | |
1028 | 1028 | /** |
1029 | - * @param $caption |
|
1030 | - * @param $name |
|
1029 | + * @param string $caption |
|
1030 | + * @param string $name |
|
1031 | 1031 | * @param $value |
1032 | 1032 | * |
1033 | 1033 | * @return bool|\XoopsFormDhtmlTextArea|\XoopsFormEditor|\XoopsFormFckeditor|\XoopsFormHtmlarea|\XoopsFormTextArea |
@@ -1195,7 +1195,7 @@ discard block |
||
1195 | 1195 | /** |
1196 | 1196 | * @param $countryn |
1197 | 1197 | * |
1198 | - * @return mixed |
|
1198 | + * @return string |
|
1199 | 1199 | */ |
1200 | 1200 | public static function getCountryName($countryn) |
1201 | 1201 | { |
@@ -1651,7 +1651,7 @@ discard block |
||
1651 | 1651 | /** |
1652 | 1652 | * @param $string |
1653 | 1653 | * |
1654 | - * @return mixed |
|
1654 | + * @return integer[] |
|
1655 | 1655 | */ |
1656 | 1656 | public static function strord($string) |
1657 | 1657 | { |
@@ -1699,7 +1699,7 @@ discard block |
||
1699 | 1699 | |
1700 | 1700 | // Check if Tag module is installed |
1701 | 1701 | /** |
1702 | - * @return bool |
|
1702 | + * @return null|boolean |
|
1703 | 1703 | */ |
1704 | 1704 | public static function isTagModuleIncluded() |
1705 | 1705 | { |
@@ -1736,7 +1736,7 @@ discard block |
||
1736 | 1736 | // Check if News module is installed |
1737 | 1737 | |
1738 | 1738 | /** |
1739 | - * @return bool |
|
1739 | + * @return null|boolean |
|
1740 | 1740 | */ |
1741 | 1741 | public static function isNewsModuleIncluded() |
1742 | 1742 | { |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Xmf\Request; |
|
4 | - |
|
5 | 3 | require_once __DIR__ . '/common/traitversionchecks.php'; |
6 | 4 | require_once __DIR__ . '/common/traitserverstats.php'; |
7 | 5 | require_once __DIR__ . '/common/traitfilesmgmt.php'; |