@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | /** |
| 30 | 30 | * @param int $lid |
| 31 | 31 | * |
| 32 | - * @return null |
|
| 32 | + * @return false|null |
|
| 33 | 33 | */ |
| 34 | 34 | function edit($lid = 0) |
| 35 | 35 | { |
@@ -635,7 +635,7 @@ discard block |
||
| 635 | 635 | * @param $lid |
| 636 | 636 | * @param $offline |
| 637 | 637 | * |
| 638 | - * @return bool|null |
|
| 638 | + * @return false|null |
|
| 639 | 639 | */ |
| 640 | 640 | function xtubeToggleOffline($lid, $offline) |
| 641 | 641 | { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * @internal param int $type |
| 46 | 46 | * @internal param string $prefix |
| 47 | 47 | * @internal param string $suffix |
| 48 | - * @return \fileList |
|
| 48 | + * @return boolean |
|
| 49 | 49 | */ |
| 50 | 50 | public function __construct($path = 'uploads', $value = null, $selected = '', $size = 1) |
| 51 | 51 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * @internal param string $_imgName |
| 65 | 65 | * @internal param string $_img_path |
| 66 | 66 | * @internal param string $_img_savepath |
| 67 | - * @return \XtubeThumbsNails |
|
| 67 | + * @return false|null |
|
| 68 | 68 | */ |
| 69 | 69 | public function __construct($img_name = null, $img_path = null, $img_savepath = null) |
| 70 | 70 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * Constructor |
| 52 | 52 | * |
| 53 | 53 | * @param string $uploadDir |
| 54 | - * @param array|int $allowedMimeTypes |
|
| 54 | + * @param integer $allowedMimeTypes |
|
| 55 | 55 | * @param int $maxFileSize |
| 56 | 56 | * @param int $maxWidth |
| 57 | 57 | * @param int $maxHeight |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @param $value |
|
| 77 | + * @param integer $value |
|
| 78 | 78 | */ |
| 79 | 79 | public function noAdminSizeCheck($value) |
| 80 | 80 | { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | /** |
| 300 | 300 | * Copy the file to its destination |
| 301 | 301 | * |
| 302 | - * @param $chmod |
|
| 302 | + * @param integer $chmod |
|
| 303 | 303 | * |
| 304 | 304 | * @return bool |
| 305 | 305 | */ |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | - * @param $dirname |
|
| 111 | + * @param string $dirname |
|
| 112 | 112 | * @param string $type |
| 113 | 113 | * @param string $prefix |
| 114 | 114 | * @param int $noselection |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * |
| 34 | 34 | * @var array $items associative array of items: [modid][catid][itemid] |
| 35 | 35 | * |
| 36 | - * @return boolean |
|
| 36 | + * @return false|null |
|
| 37 | 37 | * |
| 38 | 38 | */ |
| 39 | 39 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | public $debugArray = array(); |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @param $debug |
|
| 36 | + * @param boolean $debug |
|
| 37 | 37 | */ |
| 38 | 38 | protected function __construct($debug) |
| 39 | 39 | { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - * @param $name |
|
| 116 | + * @param string $name |
|
| 117 | 117 | * |
| 118 | 118 | * @return mixed |
| 119 | 119 | */ |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * |
| 34 | 34 | * @var array $items associative array of items: [modid][catid][itemid] |
| 35 | 35 | * |
| 36 | - * @return boolean |
|
| 36 | + * @return false|null |
|
| 37 | 37 | * |
| 38 | 38 | */ |
| 39 | 39 | |
@@ -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 | { |