Completed
Branch master (b5dddf)
by Richard
15:43
created
htdocs/class/xoopsstory.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     public $comments;
54 54
 
55 55
     /**
56
-     * @param int|array $storyid
56
+     * @param integer $storyid
57 57
      */
58 58
     public function Story($storyid = -1)
59 59
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     }
267 267
 
268 268
     /**
269
-     * @param $storyid
269
+     * @param integer $storyid
270 270
      */
271 271
     public function getStory($storyid)
272 272
     {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * @param string $format
358 358
      *
359
-     * @return mixed
359
+     * @return string
360 360
      */
361 361
     public function title($format = 'Show')
362 362
     {
Please login to merge, or discard this patch.
htdocs/class/xoopstopic.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param     $table
42
-     * @param int|array $topicid
42
+     * @param integer $topicid
43 43
      */
44 44
     public function __construct($table, $topicid = 0)
45 45
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param $topicid
82
+     * @param integer $topicid
83 83
      */
84 84
     public function getTopic($topicid)
85 85
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * @param string $format
230 230
      *
231
-     * @return mixed
231
+     * @return string
232 232
      */
233 233
     public function topic_title($format = 'S')
234 234
     {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * @param string $format
252 252
      *
253
-     * @return mixed
253
+     * @return string
254 254
      */
255 255
     public function topic_imgurl($format = 'S')
256 256
     {
Please login to merge, or discard this patch.
htdocs/class/zipdownloader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @param string            $data
87 87
      * @param string            $filename
88
-     * @param int|\unknown_type $time
88
+     * @param integer $time
89 89
      */
90 90
     public function addFileData(&$data, $filename, $time = 0)
91 91
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      *
98 98
      * @param string     $data
99 99
      * @param string     $filename
100
-     * @param int|string $time
100
+     * @param integer $time
101 101
      */
102 102
     public function addBinaryFileData(&$data, $filename, $time = 0)
103 103
     {
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/Frameworks/art/functions.cache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * @param      $data
72
-     * @param null $name
72
+     * @param string $name
73 73
      * @param null $dirname
74 74
      *
75 75
      * @return bool
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/findusers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      * Get Object
100 100
      *
101 101
      * @param  int $id
102
-     * @return object
102
+     * @return null|XoopsRank
103 103
      */
104 104
     public function get($id = 0)
105 105
     {
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
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 /**
302 302
  * xoops_error
303 303
  *
304
- * @param mixed  $msg
304
+ * @param string  $msg
305 305
  * @param string $title
306 306
  * @return void
307 307
  */
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
  *
396 396
  * @param mixed  $time
397 397
  * @param string $timeoffset
398
- * @return int
398
+ * @return double
399 399
  */
400 400
 function xoops_getUserTimestamp($time, $timeoffset = '')
401 401
 {
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
  * formatURL()
592 592
  *
593 593
  * @param mixed $url
594
- * @return mixed|string
594
+ * @return string
595 595
  */
596 596
 function formatURL($url)
597 597
 {
@@ -672,7 +672,7 @@  discard block
 block discarded – undo
672 672
 
673 673
 /**
674 674
  * Function to redirect a user to certain pages
675
- * @param        $url
675
+ * @param        string $url
676 676
  * @param int    $time
677 677
  * @param string $message
678 678
  * @param bool   $addredirect
@@ -756,7 +756,7 @@  discard block
 block discarded – undo
756 756
 /**
757 757
  * xoops_getenv()
758 758
  *
759
- * @param mixed $key
759
+ * @param string $key
760 760
  * @return string
761 761
  */
762 762
 function xoops_getenv($key)
@@ -843,7 +843,7 @@  discard block
 block discarded – undo
843 843
  * xoops_getrank()
844 844
  *
845 845
  * @param integer $rank_id
846
- * @param mixed   $posts
846
+ * @param integer   $posts
847 847
  * @return
848 848
  */
849 849
 function xoops_getrank($rank_id = 0, $posts = 0)
@@ -1048,7 +1048,7 @@  discard block
 block discarded – undo
1048 1048
 /**
1049 1049
  * xoops_getOption()
1050 1050
  *
1051
- * @param mixed $option
1051
+ * @param string $option
1052 1052
  * @internal param string $type
1053 1053
  * @deprecated
1054 1054
  * @return string
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
 /**
1070 1070
  * xoops_getConfigOption()
1071 1071
  *
1072
- * @param mixed  $option
1072
+ * @param string  $option
1073 1073
  * @param array|string $type
1074 1074
  * @internal param string $dirname
1075 1075
  * @deprecated
@@ -1102,7 +1102,7 @@  discard block
 block discarded – undo
1102 1102
 /**
1103 1103
  * xoops_setConfigOption()
1104 1104
  *
1105
- * @param mixed $option
1105
+ * @param string $option
1106 1106
  * @param null  $new
1107 1107
  * @return void
1108 1108
 @deprecated
@@ -1122,7 +1122,7 @@  discard block
 block discarded – undo
1122 1122
  *
1123 1123
  * Method for module developers getting a module config item. This could be from any module requested.
1124 1124
  *
1125
- * @param mixed  $option
1125
+ * @param string  $option
1126 1126
  * @param string $dirname
1127 1127
  * @return bool
1128 1128
 @deprecated
Please login to merge, or discard this patch.