Completed
Branch master (ddc2b8)
by Michael
02:46
created
admin/main.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
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/uploader.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
class/xoopstube_lists.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
class/plugins/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
class/xoopstube.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param $name
116
+     * @param string $name
117 117
      *
118 118
      * @return mixed
119 119
      */
Please login to merge, or discard this patch.
include/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
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.