Completed
Pull Request — master (#284)
by Gino
07:36
created
htdocs/class/xoopslists.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         /**
102 102
          * gets list of name of directories inside a directory
103
-         * @param $dirname
103
+         * @param string $dirname
104 104
          * @return array
105 105
          */
106 106
         public static function getDirListAsArray($dirname)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
         /**
133 133
          * gets list of all files in a directory
134
-         * @param        $dirname
134
+         * @param        string $dirname
135 135
          * @param string $prefix
136 136
          * @return array
137 137
          */
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         /**
160 160
          * gets list of image file names in a directory
161
-         * @param        $dirname
161
+         * @param        string $dirname
162 162
          * @param string $prefix
163 163
          * @return array
164 164
          */
Please login to merge, or discard this patch.
htdocs/class/xoopsmailer.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     // public
141 141
     /**
142
-     * @param null $value
142
+     * @param string $value
143 143
      */
144 144
     public function setTemplateDir($value = null)
145 145
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     // private
155 155
     /**
156
-     * @return bool|string
156
+     * @return string|false
157 157
      */
158 158
     public function getTemplatePath()
159 159
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     // public
179 179
     /**
180
-     * @param $value
180
+     * @param string $value
181 181
      */
182 182
     public function setTemplate($value)
183 183
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     // public
227 227
     /**
228
-     * @param $value
228
+     * @param string $value
229 229
      */
230 230
     public function setSubject($value)
231 231
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
     // public
236 236
     /**
237
-     * @param $value
237
+     * @param string $value
238 238
      */
239 239
     public function setBody($value)
240 240
     {
@@ -364,8 +364,8 @@  discard block
 block discarded – undo
364 364
     // private
365 365
     /**
366 366
      * @param $uid
367
-     * @param $subject
368
-     * @param $body
367
+     * @param string $subject
368
+     * @param string $body
369 369
      *
370 370
      * @return bool
371 371
      */
@@ -392,9 +392,9 @@  discard block
 block discarded – undo
392 392
      * Uses the new XoopsMultiMailer
393 393
      *
394 394
      * @param $email
395
-     * @param $subject
396
-     * @param $body
397
-     * @param $headers
395
+     * @param string $subject
396
+     * @param string $body
397
+     * @param string $headers
398 398
      *
399 399
      * @return bool
400 400
      */
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     // abstract
562 562
     // to be overridden by lang specific mail class, if needed
563 563
     /**
564
-     * @param $text
564
+     * @param string $text
565 565
      *
566 566
      * @return mixed
567 567
      */
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
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @param string            $data
88 88
      * @param string            $filename
89
-     * @param int|\unknown_type $time
89
+     * @param integer $time
90 90
      */
91 91
     public function addFileData(&$data, $filename, $time = 0)
92 92
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @param string     $data
100 100
      * @param string     $filename
101
-     * @param int|string $time
101
+     * @param integer $time
102 102
      */
103 103
     public function addBinaryFileData(&$data, $filename, $time = 0)
104 104
     {
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
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * @param        $currentoption
21 21
      * @param string $breadcrumb
22 22
      *
23
-     * @return bool
23
+     * @return false|null
24 24
      */
25 25
     function loadModuleAdminMenu($currentoption = -1, $breadcrumb = "")
26 26
     {
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
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param      $data
73
-     * @param null $name
73
+     * @param string $name
74 74
      * @param null $dirname
75 75
      *
76 76
      * @return bool
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/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.