@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * Access the only instance of this class |
| 45 | 45 | * |
| 46 | - * @return XoopsObject |
|
| 46 | + * @return XoopstubeUtility |
|
| 47 | 47 | * |
| 48 | 48 | * @static |
| 49 | 49 | * @staticvar object |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | /** |
| 419 | 419 | * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs |
| 420 | 420 | * |
| 421 | - * @return booleean Admin or not |
|
| 421 | + * @return boolean Admin or not |
|
| 422 | 422 | */ |
| 423 | 423 | public static function isAdmin() |
| 424 | 424 | { |
@@ -1013,7 +1013,7 @@ discard block |
||
| 1013 | 1013 | * @param null $maxWidth |
| 1014 | 1014 | * @param null $maxHeight |
| 1015 | 1015 | * |
| 1016 | - * @return mixed True si l'upload s'est bien déroulé sinon le message d'erreur correspondant |
|
| 1016 | + * @return boolean|string True si l'upload s'est bien déroulé sinon le message d'erreur correspondant |
|
| 1017 | 1017 | */ |
| 1018 | 1018 | public static function uploadFile( |
| 1019 | 1019 | $indice, |
@@ -1172,7 +1172,7 @@ discard block |
||
| 1172 | 1172 | } |
| 1173 | 1173 | |
| 1174 | 1174 | /** |
| 1175 | - * @param $string |
|
| 1175 | + * @param string $string |
|
| 1176 | 1176 | * |
| 1177 | 1177 | * @return string |
| 1178 | 1178 | */ |
@@ -1527,7 +1527,7 @@ discard block |
||
| 1527 | 1527 | * @param string $path The file's path |
| 1528 | 1528 | * @param string $filename The filename |
| 1529 | 1529 | * |
| 1530 | - * @return mixed If the copy succeed, the new filename else false |
|
| 1530 | + * @return string|false If the copy succeed, the new filename else false |
|
| 1531 | 1531 | * @since 2.1 |
| 1532 | 1532 | */ |
| 1533 | 1533 | public static function duplicateFile($path, $filename) |
@@ -1614,7 +1614,7 @@ discard block |
||
| 1614 | 1614 | * Create the <option> of an html select |
| 1615 | 1615 | * |
| 1616 | 1616 | * @param array $array Array of index and labels |
| 1617 | - * @param mixed $default the default value |
|
| 1617 | + * @param integer $default the default value |
|
| 1618 | 1618 | * @param bool $withNull |
| 1619 | 1619 | * |
| 1620 | 1620 | * @return string |
@@ -2492,7 +2492,7 @@ discard block |
||
| 2492 | 2492 | * @param string $extra |
| 2493 | 2493 | * @param int $scount |
| 2494 | 2494 | * |
| 2495 | - * @return bool|null |
|
| 2495 | + * @return false|null |
|
| 2496 | 2496 | */ |
| 2497 | 2497 | public static function xtubeRenderAdminMenu($header = '', $menu = '', $extra = '', $scount = 4) |
| 2498 | 2498 | { |
@@ -2897,7 +2897,7 @@ discard block |
||
| 2897 | 2897 | * @param string $_this |
| 2898 | 2898 | * @param $align |
| 2899 | 2899 | * |
| 2900 | - * @return bool|null |
|
| 2900 | + * @return false|null |
|
| 2901 | 2901 | */ |
| 2902 | 2902 | public static function xtubeSetPageNavigationCategoryList( |
| 2903 | 2903 | $pubrowamount, |
@@ -3044,7 +3044,7 @@ discard block |
||
| 3044 | 3044 | * @param string $_this |
| 3045 | 3045 | * @param $align |
| 3046 | 3046 | * |
| 3047 | - * @return bool|null |
|
| 3047 | + * @return false|null |
|
| 3048 | 3048 | */ |
| 3049 | 3049 | public static function xtubeSetPageNavigationVideoList($pubrowamount, $start, $art = 'art', $_this = '', $align) |
| 3050 | 3050 | { |
@@ -3115,7 +3115,7 @@ discard block |
||
| 3115 | 3115 | |
| 3116 | 3116 | // Check if Tag module is installed |
| 3117 | 3117 | /** |
| 3118 | - * @return bool |
|
| 3118 | + * @return null|boolean |
|
| 3119 | 3119 | */ |
| 3120 | 3120 | public static function xtubeIsModuleTagInstalled() |
| 3121 | 3121 | { |