Completed
Push — master ( 03c4c9...8ca430 )
by Michael
06:52
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.
blocks/xoopstube_top.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  * @param string $permType
24 24
  * @param bool   $redirect
25 25
  *
26
- * @return bool
26
+ * @return null|boolean
27 27
  */
28 28
 function checkBlockGroups($cid = 0, $permType = 'XTubeCatPerm', $redirect = false)
29 29
 {
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.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
     var $debugArray = array();
34 34
 
35 35
     /**
36
-     * @param $debug
36
+     * @param boolean $debug
37 37
      */
38 38
     protected function __construct($debug)
39 39
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-     * @param $name
113
+     * @param string $name
114 114
      *
115 115
      * @return mixed
116 116
      */
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/xoopstube_utils.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
     /**
416 416
      * Vérifie que l'utilisateur courant fait partie du groupe des administrateurs
417 417
      *
418
-     * @return booleean Admin or not
418
+     * @return boolean Admin or not
419 419
      */
420 420
     public static function isAdmin()
421 421
     {
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
     }
443 443
 
444 444
     /**
445
-     * @return bool|string
445
+     * @return string
446 446
      */
447 447
     public function getCurrentSQLDateTime()
448 448
     {
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
      *
484 484
      * @param $dateTime
485 485
      *
486
-     * @return bool|string
486
+     * @return string
487 487
      */
488 488
     public function sqlDateTimeToFrench($dateTime)
489 489
     {
@@ -1011,7 +1011,7 @@  discard block
 block discarded – undo
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
     {
@@ -1120,7 +1120,7 @@  discard block
 block discarded – undo
1120 1120
      * @param integer $startingDate Date de départ (timestamp)
1121 1121
      *
1122 1122
      * @internal param int $durations Durée en jours
1123
-     * @return bool|string
1123
+     * @return string
1124 1124
      */
1125 1125
     public function addDaysToDate($duration = 1, $startingDate = 0)
1126 1126
     {
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
     }
1164 1164
 
1165 1165
     /**
1166
-     * @param $string
1166
+     * @param string $string
1167 1167
      *
1168 1168
      * @return string
1169 1169
      */
@@ -1520,7 +1520,7 @@  discard block
 block discarded – undo
1520 1520
      * @param string $path     The file's path
1521 1521
      * @param string $filename The filename
1522 1522
      *
1523
-     * @return mixed If the copy succeed, the new filename else false
1523
+     * @return string|false If the copy succeed, the new filename else false
1524 1524
      * @since 2.1
1525 1525
      */
1526 1526
     public function duplicateFile($path, $filename)
@@ -1607,7 +1607,7 @@  discard block
 block discarded – undo
1607 1607
      * Create the <option> of an html select
1608 1608
      *
1609 1609
      * @param array $array    Array of index and labels
1610
-     * @param mixed $default  the default value
1610
+     * @param integer $default  the default value
1611 1611
      * @param bool  $withNull
1612 1612
      *
1613 1613
      * @return string
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
  * @param string $permType
64 64
  * @param bool   $redirect
65 65
  *
66
- * @return bool
66
+ * @return null|boolean
67 67
  */
68 68
 function xtubeCheckGroups($cid = 0, $permType = 'XTubeCatPerm', $redirect = false)
69 69
 {
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
  * @param string $extra
680 680
  * @param int    $scount
681 681
  *
682
- * @return bool|null
682
+ * @return false|null
683 683
  */
684 684
 function xtubeRenderAdminMenu($header = '', $menu = '', $extra = '', $scount = 4)
685 685
 {
@@ -1095,7 +1095,7 @@  discard block
 block discarded – undo
1095 1095
  * @param string $_this
1096 1096
  * @param        $align
1097 1097
  *
1098
- * @return bool|null
1098
+ * @return false|null
1099 1099
  */
1100 1100
 function xtubeSetPageNavigationCategoryList($pubrowamount, $start, $art = 'art', $_this = '', $align)
1101 1101
 {
@@ -1238,7 +1238,7 @@  discard block
 block discarded – undo
1238 1238
  * @param string $_this
1239 1239
  * @param        $align
1240 1240
  *
1241
- * @return bool|null
1241
+ * @return false|null
1242 1242
  */
1243 1243
 function xtubeSetPageNavigationVideoList($pubrowamount, $start, $art = 'art', $_this = '', $align)
1244 1244
 {
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
 
1308 1308
 // Check if Tag module is installed
1309 1309
 /**
1310
- * @return bool
1310
+ * @return null|boolean
1311 1311
  */
1312 1312
 function xtubeIsModuleTagInstalled()
1313 1313
 {
Please login to merge, or discard this patch.