@@ -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 |  { | 
                                                        
@@ -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 | |
@@ -42,7 +42,7 @@ discard block  | 
                                                    ||
| 42 | 42 | /**  | 
                                                        
| 43 | 43 | * Access the only instance of this class  | 
                                                        
| 44 | 44 | *  | 
                                                        
| 45 | - * @return XoopsObject  | 
                                                        |
| 45 | + * @return XoopstubeUtilities  | 
                                                        |
| 46 | 46 | *  | 
                                                        
| 47 | 47 | * @static  | 
                                                        
| 48 | 48 | * @staticvar object  | 
                                                        
@@ -416,7 +416,7 @@ discard block  | 
                                                    ||
| 416 | 416 | /**  | 
                                                        
| 417 | 417 | * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs  | 
                                                        
| 418 | 418 | *  | 
                                                        
| 419 | - * @return booleean Admin or not  | 
                                                        |
| 419 | + * @return boolean Admin or not  | 
                                                        |
| 420 | 420 | */  | 
                                                        
| 421 | 421 | public static function isAdmin()  | 
                                                        
| 422 | 422 |      { | 
                                                        
@@ -1011,7 +1011,7 @@ discard block  | 
                                                    ||
| 1011 | 1011 | * @param null $maxWidth  | 
                                                        
| 1012 | 1012 | * @param null $maxHeight  | 
                                                        
| 1013 | 1013 | *  | 
                                                        
| 1014 | - * @return mixed True si l'upload s'est bien déroulé sinon le message d'erreur correspondant  | 
                                                        |
| 1014 | + * @return boolean|string True si l'upload s'est bien déroulé sinon le message d'erreur correspondant  | 
                                                        |
| 1015 | 1015 | */  | 
                                                        
| 1016 | 1016 | public static function uploadFile($indice, $dstpath = XOOPS_UPLOAD_PATH, $mimeTypes = null, $uploadMaxSize = null, $maxWidth = null, $maxHeight = null)  | 
                                                        
| 1017 | 1017 |      { | 
                                                        
@@ -1158,7 +1158,7 @@ discard block  | 
                                                    ||
| 1158 | 1158 | }  | 
                                                        
| 1159 | 1159 | |
| 1160 | 1160 | /**  | 
                                                        
| 1161 | - * @param $string  | 
                                                        |
| 1161 | + * @param string $string  | 
                                                        |
| 1162 | 1162 | *  | 
                                                        
| 1163 | 1163 | * @return string  | 
                                                        
| 1164 | 1164 | */  | 
                                                        
@@ -1513,7 +1513,7 @@ discard block  | 
                                                    ||
| 1513 | 1513 | * @param string $path The file's path  | 
                                                        
| 1514 | 1514 | * @param string $filename The filename  | 
                                                        
| 1515 | 1515 | *  | 
                                                        
| 1516 | - * @return mixed If the copy succeed, the new filename else false  | 
                                                        |
| 1516 | + * @return string|false If the copy succeed, the new filename else false  | 
                                                        |
| 1517 | 1517 | * @since 2.1  | 
                                                        
| 1518 | 1518 | */  | 
                                                        
| 1519 | 1519 | public static function duplicateFile($path, $filename)  | 
                                                        
@@ -1600,7 +1600,7 @@ discard block  | 
                                                    ||
| 1600 | 1600 | * Create the <option> of an html select  | 
                                                        
| 1601 | 1601 | *  | 
                                                        
| 1602 | 1602 | * @param array $array Array of index and labels  | 
                                                        
| 1603 | - * @param mixed $default the default value  | 
                                                        |
| 1603 | + * @param integer $default the default value  | 
                                                        |
| 1604 | 1604 | * @param bool $withNull  | 
                                                        
| 1605 | 1605 | *  | 
                                                        
| 1606 | 1606 | * @return string  | 
                                                        
@@ -2471,7 +2471,7 @@ discard block  | 
                                                    ||
| 2471 | 2471 | * @param string $extra  | 
                                                        
| 2472 | 2472 | * @param int $scount  | 
                                                        
| 2473 | 2473 | *  | 
                                                        
| 2474 | - * @return bool|null  | 
                                                        |
| 2474 | + * @return false|null  | 
                                                        |
| 2475 | 2475 | */  | 
                                                        
| 2476 | 2476 | public static function xtubeRenderAdminMenu($header = '', $menu = '', $extra = '', $scount = 4)  | 
                                                        
| 2477 | 2477 |      { | 
                                                        
@@ -2873,7 +2873,7 @@ discard block  | 
                                                    ||
| 2873 | 2873 | * @param string $_this  | 
                                                        
| 2874 | 2874 | * @param $align  | 
                                                        
| 2875 | 2875 | *  | 
                                                        
| 2876 | - * @return bool|null  | 
                                                        |
| 2876 | + * @return false|null  | 
                                                        |
| 2877 | 2877 | */  | 
                                                        
| 2878 | 2878 | public static function xtubeSetPageNavigationCategoryList($pubrowamount, $start, $art = 'art', $_this = '', $align)  | 
                                                        
| 2879 | 2879 |      { | 
                                                        
@@ -3010,7 +3010,7 @@ discard block  | 
                                                    ||
| 3010 | 3010 | * @param string $_this  | 
                                                        
| 3011 | 3011 | * @param $align  | 
                                                        
| 3012 | 3012 | *  | 
                                                        
| 3013 | - * @return bool|null  | 
                                                        |
| 3013 | + * @return false|null  | 
                                                        |
| 3014 | 3014 | */  | 
                                                        
| 3015 | 3015 | public static function xtubeSetPageNavigationVideoList($pubrowamount, $start, $art = 'art', $_this = '', $align)  | 
                                                        
| 3016 | 3016 |      { | 
                                                        
@@ -3077,7 +3077,7 @@ discard block  | 
                                                    ||
| 3077 | 3077 | |
| 3078 | 3078 | // Check if Tag module is installed  | 
                                                        
| 3079 | 3079 | /**  | 
                                                        
| 3080 | - * @return bool  | 
                                                        |
| 3080 | + * @return null|boolean  | 
                                                        |
| 3081 | 3081 | */  | 
                                                        
| 3082 | 3082 | public static function xtubeIsModuleTagInstalled()  | 
                                                        
| 3083 | 3083 |      { | 
                                                        
@@ -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 | |