Completed
Pull Request — master (#555)
by Lucio
09:45
created
htdocs/class/file/folder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
      * Private method to list directories and files in each directory
511 511
      *
512 512
      * @param string $path
513
-     * @param        $hidden
513
+     * @param        boolean $hidden
514 514
      *
515 515
      * @internal param $ $ = boolean $hidden
516 516
      * @access   private
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
      *
751 751
      * @param array|string $options (to, from, chmod, skip)
752 752
      *
753
-     * @return boolean Success
753
+     * @return string|false Success
754 754
      * @access public
755 755
      */
756 756
     public function move($options)
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/mp3/mp3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param $textarea_id
29 29
      *
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function encode($textarea_id)
33 33
     {
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/soundcloud/soundcloud.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param $textarea_id
29 29
      *
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function encode($textarea_id)
33 33
     {
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/youtube/youtube.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param $textarea_id
29 29
      *
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function encode($textarea_id)
33 33
     {
Please login to merge, or discard this patch.
htdocs/Frameworks/art/functions.admin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * @param        $currentoption
20 20
      * @param string $breadcrumb
21 21
      *
22
-     * @return bool
22
+     * @return false|null
23 23
      */
24 24
     function loadModuleAdminMenu($currentoption = -1, $breadcrumb = '')
25 25
     {
Please login to merge, or discard this patch.
htdocs/include/cp_functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
  *
76 76
  * @param unknown_type $url
77 77
  * @param unknown_type $value
78
- * @return unknown
78
+ * @return string
79 79
  */
80 80
 function myTextForm($url, $value)
81 81
 {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 /**
86 86
  * Enter description here...
87 87
  *
88
- * @return unknown
88
+ * @return boolean
89 89
  */
90 90
 function xoopsfwrite()
91 91
 {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
 /**
105 105
  * Xoops Module Menu
106 106
  * @deprecated
107
- * @return unknown
107
+ * @return string
108 108
  */
109 109
 function xoops_module_get_admin_menu()
110 110
 {
Please login to merge, or discard this patch.
htdocs/include/functions.encoding.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
  * @param  mixed $value value of array
132 132
  * @param        key   of array   $key
133 133
  * @param string $store_method
134
- * @return boolean
134
+ * @return boolean|null
135 135
  */
136 136
 function xoops_aw_encode($value, $key, $store_method = 'urlcode')
137 137
 {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
  * @param mixed $value value of array
145 145
  * @param        key   of array $key
146 146
  * @param string $store_method
147
- * @return boolean
147
+ * @return boolean|null
148 148
  */
149 149
 function xoops_aw_decode($value, $key, $store_method = 'urlcode')
150 150
 {
Please login to merge, or discard this patch.
htdocs/include/functions.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 /**
21 21
  * xoops_getHandler()
22 22
  *
23
- * @param mixed $name
23
+ * @param string $name
24 24
  * @param mixed $optional
25 25
  *
26 26
  * @return XoopsObjectHandler|false
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 /**
54 54
  * xoops_getModuleHandler()
55 55
  *
56
- * @param mixed $name
56
+ * @param string $name
57 57
  * @param mixed $module_dir
58 58
  * @param mixed $optional
59 59
  * @return XoopsObjectHandler|false
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 /**
301 301
  * xoops_error
302 302
  *
303
- * @param mixed  $msg
303
+ * @param string  $msg
304 304
  * @param string $title
305 305
  * @return void
306 306
  */
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
  *
395 395
  * @param mixed  $time
396 396
  * @param string $timeoffset
397
- * @return int
397
+ * @return double
398 398
  */
399 399
 function xoops_getUserTimestamp($time, $timeoffset = '')
400 400
 {
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
  * formatURL()
591 591
  *
592 592
  * @param mixed $url
593
- * @return mixed|string
593
+ * @return string
594 594
  */
595 595
 function formatURL($url)
596 596
 {
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
 
672 672
 /**
673 673
  * Function to redirect a user to certain pages
674
- * @param        $url
674
+ * @param        string $url
675 675
  * @param int    $time
676 676
  * @param string $message
677 677
  * @param bool   $addredirect
@@ -755,7 +755,7 @@  discard block
 block discarded – undo
755 755
 /**
756 756
  * xoops_getenv()
757 757
  *
758
- * @param mixed $key
758
+ * @param string $key
759 759
  * @return string
760 760
  */
761 761
 function xoops_getenv($key)
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
  * xoops_getrank()
843 843
  *
844 844
  * @param integer $rank_id
845
- * @param mixed   $posts
845
+ * @param integer   $posts
846 846
  * @return
847 847
  */
848 848
 function xoops_getrank($rank_id = 0, $posts = 0)
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
 /**
1046 1046
  * xoops_getOption()
1047 1047
  *
1048
- * @param mixed $option
1048
+ * @param string $option
1049 1049
  * @internal param string $type
1050 1050
  * @deprecated
1051 1051
  * @return string
@@ -1066,7 +1066,7 @@  discard block
 block discarded – undo
1066 1066
 /**
1067 1067
  * xoops_getConfigOption()
1068 1068
  *
1069
- * @param mixed  $option
1069
+ * @param string  $option
1070 1070
  * @param array|string $type
1071 1071
  * @internal param string $dirname
1072 1072
  * @deprecated
@@ -1098,7 +1098,7 @@  discard block
 block discarded – undo
1098 1098
 /**
1099 1099
  * xoops_setConfigOption()
1100 1100
  *
1101
- * @param mixed $option
1101
+ * @param string $option
1102 1102
  * @param null  $new
1103 1103
  * @return void
1104 1104
 @deprecated
@@ -1118,7 +1118,7 @@  discard block
 block discarded – undo
1118 1118
  *
1119 1119
  * Method for module developers getting a module config item. This could be from any module requested.
1120 1120
  *
1121
- * @param mixed  $option
1121
+ * @param string  $option
1122 1122
  * @param string $dirname
1123 1123
  * @return bool
1124 1124
 @deprecated
Please login to merge, or discard this patch.
htdocs/include/old_functions.php 1 patch
Doc Comments   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -219,31 +219,31 @@
 block discarded – undo
219 219
 /**
220 220
  * showThread :: DO NOT USE
221 221
  *
222
- * @param unknown_type         $color_number
223
- * @param unknown_type         $subject_image
222
+ * @param integer         $color_number
223
+ * @param string         $subject_image
224 224
  * @param unknown_type         $subject
225 225
  * @param unknown_type         $text
226
- * @param unknown_type         $post_date
227
- * @param unknown_type         $ip_image
228
- * @param unknown_type         $reply_image
229
- * @param unknown_type         $edit_image
230
- * @param unknown_type         $delete_image
226
+ * @param string         $post_date
227
+ * @param string         $ip_image
228
+ * @param string         $reply_image
229
+ * @param string         $edit_image
230
+ * @param string         $delete_image
231 231
  * @param string|\unknown_type $username
232 232
  * @param string|\unknown_type $rank_title
233 233
  * @param string|\unknown_type $rank_image
234
- * @param string|\unknown_type $avatar_image
235
- * @param string|\unknown_type $reg_date
236
- * @param string|\unknown_type $posts
237
- * @param string|\unknown_type $user_from
238
- * @param string|\unknown_type $online_image
239
- * @param string|\unknown_type $profile_image
240
- * @param string|\unknown_type $pm_image
241
- * @param string|\unknown_type $email_image
242
- * @param string|\unknown_type $www_image
243
- * @param string|\unknown_type $icq_image
244
- * @param string|\unknown_type $aim_image
245
- * @param string|\unknown_type $yim_image
246
- * @param string|\unknown_type $msnm_image
234
+ * @param string $avatar_image
235
+ * @param string $reg_date
236
+ * @param string $posts
237
+ * @param string $user_from
238
+ * @param string $online_image
239
+ * @param string $profile_image
240
+ * @param string $pm_image
241
+ * @param string $email_image
242
+ * @param string $www_image
243
+ * @param string $icq_image
244
+ * @param string $aim_image
245
+ * @param string $yim_image
246
+ * @param string $msnm_image
247 247
  */
248 248
 function showThread($color_number, $subject_image, $subject, $text, $post_date, $ip_image, $reply_image, $edit_image, $delete_image, $username = '', $rank_title = '', $rank_image = '', $avatar_image = '', $reg_date = '', $posts = '', $user_from = '', $online_image = '', $profile_image = '', $pm_image = '', $email_image = '', $www_image = '', $icq_image = '', $aim_image = '', $yim_image = '', $msnm_image = '')
249 249
 {
Please login to merge, or discard this patch.