Completed
Branch master (ddc2b8)
by Michael
02:46
created
class/class_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
class/class_thumbnail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
class/utility.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Access the only instance of this class
43 43
      *
44
-     * @return object
44
+     * @return XoopstubeUtility
45 45
      *
46 46
      * @static
47 47
      * @staticvar   object
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
     /**
420 420
      * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs
421 421
      *
422
-     * @return booleean Admin or not
422
+     * @return boolean Admin or not
423 423
      */
424 424
     public static function isAdmin()
425 425
     {
@@ -1070,7 +1070,7 @@  discard block
 block discarded – undo
1070 1070
      * @param null    $maxWidth
1071 1071
      * @param null    $maxHeight
1072 1072
      *
1073
-     * @return mixed True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1073
+     * @return boolean|string True si l'upload s'est bien déroulé sinon le message d'erreur correspondant
1074 1074
      */
1075 1075
     public static function uploadFile(
1076 1076
         $indice,
@@ -1233,7 +1233,7 @@  discard block
 block discarded – undo
1233 1233
     }
1234 1234
 
1235 1235
     /**
1236
-     * @param $string
1236
+     * @param string $string
1237 1237
      *
1238 1238
      * @return string
1239 1239
      */
@@ -1590,7 +1590,7 @@  discard block
 block discarded – undo
1590 1590
      * @param string $path     The file's path
1591 1591
      * @param string $filename The filename
1592 1592
      *
1593
-     * @return mixed If the copy succeed, the new filename else false
1593
+     * @return string|false If the copy succeed, the new filename else false
1594 1594
      * @since 2.1
1595 1595
      */
1596 1596
     public static function duplicateFile($path, $filename)
@@ -1677,7 +1677,7 @@  discard block
 block discarded – undo
1677 1677
      * Create the <option> of an html select
1678 1678
      *
1679 1679
      * @param array $array   Array of index and labels
1680
-     * @param mixed $default the default value
1680
+     * @param integer $default the default value
1681 1681
      * @param bool  $withNull
1682 1682
      *
1683 1683
      * @return string
@@ -2597,7 +2597,7 @@  discard block
 block discarded – undo
2597 2597
      * @param string $extra
2598 2598
      * @param int    $scount
2599 2599
      *
2600
-     * @return bool|null
2600
+     * @return false|null
2601 2601
      */
2602 2602
     public static function xtubeRenderAdminMenu($header = '', $menu = '', $extra = '', $scount = 4)
2603 2603
     {
@@ -3009,7 +3009,7 @@  discard block
 block discarded – undo
3009 3009
      * @param string $_this
3010 3010
      * @param        $align
3011 3011
      *
3012
-     * @return bool|null
3012
+     * @return false|null
3013 3013
      */
3014 3014
     public static function xtubeSetPageNavigationCategoryList(
3015 3015
         $pubrowamount,
@@ -3165,7 +3165,7 @@  discard block
 block discarded – undo
3165 3165
      * @param string $_this
3166 3166
      * @param        $align
3167 3167
      *
3168
-     * @return bool|null
3168
+     * @return false|null
3169 3169
      */
3170 3170
     public static function xtubeSetPageNavigationVideoList($pubrowamount, $start, $art = 'art', $_this = '', $align)
3171 3171
     {
@@ -3237,7 +3237,7 @@  discard block
 block discarded – undo
3237 3237
     // Check if Tag module is installed
3238 3238
 
3239 3239
     /**
3240
-     * @return bool
3240
+     * @return null|boolean
3241 3241
      */
3242 3242
     public static function xtubeIsModuleTagInstalled()
3243 3243
     {
Please login to merge, or discard this patch.