| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | /** | 
| 20 | 20 | * @param int $lid | 
| 21 | 21 | * | 
| 22 | - * @return null | |
| 22 | + * @return false|null | |
| 23 | 23 | */ | 
| 24 | 24 | function edit($lid = 0) | 
| 25 | 25 |  { | 
| @@ -107,9 +107,9 @@ discard block | ||
| 107 | 107 | * Add appendix | 
| 108 | 108 | * | 
| 109 | 109 | * @access public | 
| 110 | - * @param $permName | |
| 110 | + * @param string $permName | |
| 111 | 111 | * @param $itemId | 
| 112 | - * @param $itemName | |
| 112 | + * @param string $itemName | |
| 113 | 113 | */ | 
| 114 | 114 | public function addAppendix($permName, $itemId, $itemName) | 
| 115 | 115 |      { | 
| @@ -254,7 +254,7 @@ discard block | ||
| 254 | 254 | /** | 
| 255 | 255 | * Constructor | 
| 256 | 256 | * @param $caption | 
| 257 | - * @param $name | |
| 257 | + * @param string $name | |
| 258 | 258 | * @param $groupId | 
| 259 | 259 | * @param null $values | 
| 260 | 260 | */ | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | * | 
| 24 | 24 | * @var array $items associative array of items: [modid][catid][itemid] | 
| 25 | 25 | * | 
| 26 | - * @return boolean | |
| 26 | + * @return false|null | |
| 27 | 27 | * | 
| 28 | 28 | */ | 
| 29 | 29 | |
| @@ -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'; | 
| @@ -772,7 +772,7 @@ discard block | ||
| 772 | 772 | * @param string $art | 
| 773 | 773 | * @param string $_this | 
| 774 | 774 | * | 
| 775 | - * @return null | |
| 775 | + * @return false|null | |
| 776 | 776 | */ | 
| 777 | 777 | public static function getLinkListPageNav($pubrowamount, $start, $art = 'art', $_this = '') | 
| 778 | 778 |      { | 
| @@ -796,7 +796,7 @@ discard block | ||
| 796 | 796 | * @param string $art | 
| 797 | 797 | * @param string $_this | 
| 798 | 798 | * | 
| 799 | - * @return null | |
| 799 | + * @return false|null | |
| 800 | 800 | */ | 
| 801 | 801 | public static function getLinkListPageNavLeft($pubrowamount, $start, $art = 'art', $_this = '') | 
| 802 | 802 |      { | 
| @@ -817,8 +817,8 @@ discard block | ||
| 817 | 817 | // Retreive an editor according to the module's option "form_options" | 
| 818 | 818 | |
| 819 | 819 | /** | 
| 820 | - * @param $caption | |
| 821 | - * @param $name | |
| 820 | + * @param string $caption | |
| 821 | + * @param string $name | |
| 822 | 822 | * @param $value | 
| 823 | 823 | * | 
| 824 | 824 | * @return bool|\XoopsFormDhtmlTextArea|\XoopsFormEditor|\XoopsFormFckeditor|\XoopsFormHtmlarea|\XoopsFormTextArea | 
| @@ -986,7 +986,7 @@ discard block | ||
| 986 | 986 | /** | 
| 987 | 987 | * @param $countryn | 
| 988 | 988 | * | 
| 989 | - * @return mixed | |
| 989 | + * @return string | |
| 990 | 990 | */ | 
| 991 | 991 | public static function getCountryName($countryn) | 
| 992 | 992 |      { | 
| @@ -1367,7 +1367,7 @@ discard block | ||
| 1367 | 1367 | } | 
| 1368 | 1368 | |
| 1369 | 1369 | /** | 
| 1370 | - * @param array|null $url | |
| 1370 | + * @param integer[] $url | |
| 1371 | 1371 | * @param null $length | 
| 1372 | 1372 | * @param int $init | 
| 1373 | 1373 | * | 
| @@ -1440,9 +1440,9 @@ discard block | ||
| 1440 | 1440 | //converts a string into an array of integers containing the numeric value of the char | 
| 1441 | 1441 | |
| 1442 | 1442 | /** | 
| 1443 | - * @param $string | |
| 1443 | + * @param string $string | |
| 1444 | 1444 | * | 
| 1445 | - * @return mixed | |
| 1445 | + * @return integer[] | |
| 1446 | 1446 | */ | 
| 1447 | 1447 | public static function strord($string) | 
| 1448 | 1448 |      { | 
| @@ -1490,7 +1490,7 @@ discard block | ||
| 1490 | 1490 | |
| 1491 | 1491 | // Check if Tag module is installed | 
| 1492 | 1492 | /** | 
| 1493 | - * @return bool | |
| 1493 | + * @return null|boolean | |
| 1494 | 1494 | */ | 
| 1495 | 1495 | public static function isTagModuleIncluded() | 
| 1496 | 1496 |      { | 
| @@ -1527,7 +1527,7 @@ discard block | ||
| 1527 | 1527 | // Check if News module is installed | 
| 1528 | 1528 | |
| 1529 | 1529 | /** | 
| 1530 | - * @return bool | |
| 1530 | + * @return null|boolean | |
| 1531 | 1531 | */ | 
| 1532 | 1532 | public static function isNewsModuleIncluded() | 
| 1533 | 1533 |      { | 
| @@ -98,7 +98,7 @@ | ||
| 98 | 98 | } | 
| 99 | 99 | |
| 100 | 100 | /** | 
| 101 | - * @param $dirname | |
| 101 | + * @param string $dirname | |
| 102 | 102 | * @param string $type | 
| 103 | 103 | * @param string $prefix | 
| 104 | 104 | * @param int $noselection | 
| @@ -29,13 +29,16 @@ discard block | ||
| 29 | 29 | * @return mixed | 
| 30 | 30 | */ | 
| 31 | 31 | |
| 32 | +/** | |
| 33 | + * @param string $string | |
| 34 | + */ | |
| 32 | 35 | function vcard_encode($string) | 
| 33 | 36 |  { | 
| 34 | 37 | return vcard_escape(vcard_quoted_printable_encode($string)); | 
| 35 | 38 | } | 
| 36 | 39 | |
| 37 | 40 | /** | 
| 38 | - * @param $string | |
| 41 | + * @param string $string | |
| 39 | 42 | * | 
| 40 | 43 | * @return mixed | 
| 41 | 44 | */ | 
| @@ -147,7 +150,7 @@ discard block | ||
| 147 | 150 | } | 
| 148 | 151 | |
| 149 | 152 | /** | 
| 150 | - * @param $name | |
| 153 | + * @param string $name | |
| 151 | 154 | */ | 
| 152 | 155 | public function setFormattedName($name) | 
| 153 | 156 |      { | 
| @@ -373,7 +373,7 @@ | ||
| 373 | 373 | * | 
| 374 | 374 | * Private function | 
| 375 | 375 | * | 
| 376 | - * @return array|false if gd lib not found on the system | |
| 376 | + * @return boolean if gd lib not found on the system | |
| 377 | 377 | */ | 
| 378 | 378 | public function checkGdLibrary() | 
| 379 | 379 |      { |