Completed
Pull Request — master (#76)
by Gino
11:49
created
htdocs/Frameworks/art/object.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     /**
78 78
      * get MySQL server version
79 79
      *
80
-     * @param null $conn
80
+     * @param mysqli $conn
81 81
      *
82 82
      * @return string
83 83
      */
Please login to merge, or discard this patch.
htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     // $title: title of an InfoBox
393 393
     //******************************************************************************************************************
394 394
     /**
395
-     * @param $title
395
+     * @param string $title
396 396
      *
397 397
      * @return bool
398 398
      */
@@ -415,8 +415,8 @@  discard block
 block discarded – undo
415 415
     //                                      For this type ("chmod"), the value is an array: array(path, chmod)
416 416
     //******************************************************************************************************************
417 417
     /**
418
-     * @param        $label
419
-     * @param        $text
418
+     * @param        string $label
419
+     * @param        string $text
420 420
      * @param string $value
421 421
      * @param string $color
422 422
      * @param string $type
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
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
  *
77 77
  * @param unknown_type $url
78 78
  * @param unknown_type $value
79
- * @return unknown
79
+ * @return string
80 80
  */
81 81
 function myTextForm($url, $value)
82 82
 {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 /**
87 87
  * Enter description here...
88 88
  *
89
- * @return unknown
89
+ * @return boolean
90 90
  */
91 91
 function xoopsfwrite()
92 92
 {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 /**
106 106
  * Xoops Module Menu
107 107
  *
108
- * @return unknown
108
+ * @return string
109 109
  */
110 110
 function xoops_module_get_admin_menu()
111 111
 {
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
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
  * @param        value of array $value
133 133
  * @param        key   of array   $key
134 134
  * @param string $store_method
135
- * @return boolean
135
+ * @return boolean|null
136 136
  */
137 137
 function xoops_aw_encode($value, $key, $store_method = "urlcode")
138 138
 {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
  * @param        value of array $value
146 146
  * @param        key   of array $key
147 147
  * @param string $store_method
148
- * @return boolean
148
+ * @return boolean|null
149 149
  */
150 150
 function xoops_aw_decode($value, $key, $store_method = "urlcode")
151 151
 {
Please login to merge, or discard this patch.
htdocs/include/functions.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 /**
22 22
  * xoops_getHandler()
23 23
  *
24
- * @param mixed $name
24
+ * @param string $name
25 25
  * @param mixed $optional
26 26
  *
27 27
  * @return bool
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 /**
55 55
  * xoops_getModuleHandler()
56 56
  *
57
- * @param mixed $name
57
+ * @param string $name
58 58
  * @param mixed $module_dir
59 59
  * @param mixed $optional
60 60
  * @return bool
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
 /**
281 281
  * xoops_error
282 282
  *
283
- * @param mixed  $msg
283
+ * @param string  $msg
284 284
  * @param string $title
285 285
  * @return void
286 286
  */
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
  *
375 375
  * @param mixed  $time
376 376
  * @param string $timeoffset
377
- * @return int
377
+ * @return double
378 378
  */
379 379
 function xoops_getUserTimestamp($time, $timeoffset = '')
380 380
 {
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
  * formatURL()
571 571
  *
572 572
  * @param mixed $url
573
- * @return mixed|string
573
+ * @return string
574 574
  */
575 575
 function formatURL($url)
576 576
 {
@@ -642,7 +642,7 @@  discard block
 block discarded – undo
642 642
 
643 643
 /**
644 644
  * Function to redirect a user to certain pages
645
- * @param        $url
645
+ * @param        string $url
646 646
  * @param int    $time
647 647
  * @param string $message
648 648
  * @param bool   $addredirect
@@ -726,7 +726,7 @@  discard block
 block discarded – undo
726 726
 /**
727 727
  * xoops_getenv()
728 728
  *
729
- * @param mixed $key
729
+ * @param string $key
730 730
  * @return string
731 731
  */
732 732
 function xoops_getenv($key)
@@ -813,7 +813,7 @@  discard block
 block discarded – undo
813 813
  * xoops_getrank()
814 814
  *
815 815
  * @param integer $rank_id
816
- * @param mixed   $posts
816
+ * @param integer   $posts
817 817
  * @return
818 818
  */
819 819
 function xoops_getrank($rank_id = 0, $posts = 0)
@@ -958,7 +958,7 @@  discard block
 block discarded – undo
958 958
  * Group Permission Helper Functions
959 959
  *
960 960
  * @param mixed $module_id
961
- * @param mixed $perm_name
961
+ * @param string $perm_name
962 962
  * @param mixed $item_id
963 963
  * @return bool
964 964
  */
@@ -1016,7 +1016,7 @@  discard block
 block discarded – undo
1016 1016
 /**
1017 1017
  * xoops_getOption()
1018 1018
  *
1019
- * @param mixed $option
1019
+ * @param string $option
1020 1020
  * @internal param string $type
1021 1021
  * @deprecated
1022 1022
  * @return string
@@ -1037,7 +1037,7 @@  discard block
 block discarded – undo
1037 1037
 /**
1038 1038
  * xoops_getConfigOption()
1039 1039
  *
1040
- * @param mixed  $option
1040
+ * @param string  $option
1041 1041
  * @param string $type
1042 1042
  * @internal param string $dirname
1043 1043
  * @deprecated
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
 /**
1070 1070
  * xoops_setConfigOption()
1071 1071
  *
1072
- * @param mixed $option
1072
+ * @param string $option
1073 1073
  * @param null  $new
1074 1074
  * @return void
1075 1075
 @deprecated
@@ -1089,7 +1089,7 @@  discard block
 block discarded – undo
1089 1089
  *
1090 1090
  * Method for module developers getting a module config item. This could be from any module requested.
1091 1091
  *
1092
- * @param mixed  $option
1092
+ * @param string  $option
1093 1093
  * @param string $dirname
1094 1094
  * @return bool
1095 1095
 @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
@@ -220,31 +220,31 @@
 block discarded – undo
220 220
 /**
221 221
  * showThread :: DO NOT USE
222 222
  *
223
- * @param unknown_type         $color_number
224
- * @param unknown_type         $subject_image
223
+ * @param integer         $color_number
224
+ * @param string         $subject_image
225 225
  * @param unknown_type         $subject
226 226
  * @param unknown_type         $text
227
- * @param unknown_type         $post_date
228
- * @param unknown_type         $ip_image
229
- * @param unknown_type         $reply_image
230
- * @param unknown_type         $edit_image
231
- * @param unknown_type         $delete_image
227
+ * @param string         $post_date
228
+ * @param string         $ip_image
229
+ * @param string         $reply_image
230
+ * @param string         $edit_image
231
+ * @param string         $delete_image
232 232
  * @param string|\unknown_type $username
233 233
  * @param string|\unknown_type $rank_title
234 234
  * @param string|\unknown_type $rank_image
235
- * @param string|\unknown_type $avatar_image
236
- * @param string|\unknown_type $reg_date
237
- * @param string|\unknown_type $posts
238
- * @param string|\unknown_type $user_from
239
- * @param string|\unknown_type $online_image
240
- * @param string|\unknown_type $profile_image
241
- * @param string|\unknown_type $pm_image
242
- * @param string|\unknown_type $email_image
243
- * @param string|\unknown_type $www_image
244
- * @param string|\unknown_type $icq_image
245
- * @param string|\unknown_type $aim_image
246
- * @param string|\unknown_type $yim_image
247
- * @param string|\unknown_type $msnm_image
235
+ * @param string $avatar_image
236
+ * @param string $reg_date
237
+ * @param string $posts
238
+ * @param string $user_from
239
+ * @param string $online_image
240
+ * @param string $profile_image
241
+ * @param string $pm_image
242
+ * @param string $email_image
243
+ * @param string $www_image
244
+ * @param string $icq_image
245
+ * @param string $aim_image
246
+ * @param string $yim_image
247
+ * @param string $msnm_image
248 248
  */
249 249
 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 = "")
250 250
 {
Please login to merge, or discard this patch.
htdocs/install/class/installwizard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-     * @param $file
141
+     * @param string $file
142 142
      */
143 143
     public function loadLangFile($file)
144 144
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param $page
166
+     * @param string $page
167 167
      *
168 168
      * @return bool|mixed
169 169
      */
Please login to merge, or discard this patch.
htdocs/install/class/pathcontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
      * @param bool   $create
262 262
      *
263 263
      * @internal param bool $recurse
264
-     * @return false on failure, method (u-ser,g-roup,w-orld) on success
264
+     * @return false|string on failure, method (u-ser,g-roup,w-orld) on success
265 265
      */
266 266
     public function makeWritable($path, $create = true)
267 267
     {
Please login to merge, or discard this patch.
htdocs/install/include/createconfigform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
 /**
241 241
  * @param $config
242 242
  *
243
- * @return array
243
+ * @return XoopsThemeForm[]
244 244
  */
245 245
 function createThemeform($config)
246 246
 {
Please login to merge, or discard this patch.