Completed
Push — master ( 1a786e...1d092d )
by Richard
10:38
created
htdocs/kernel/configitem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
     /**
228 228
      * Assign one or more {@link XoopsConfigItemOption}s
229 229
      *
230
-     * @param mixed $option either a {@link XoopsConfigItemOption} object or an array of them
230
+     * @param XoopsConfigOption $option either a {@link XoopsConfigItemOption} object or an array of them
231 231
      */
232 232
     public function setConfOptions($option)
233 233
     {
Please login to merge, or discard this patch.
htdocs/modules/system/class/menu.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @param        $value
53
+     * @param        string $value
54 54
      * @param string $name
55 55
      */
56 56
     public function addMenuTop($value, $name = '')
Please login to merge, or discard this patch.
htdocs/modules/system/include/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
  *
19 19
  * Comment by Taiwen Jiang (a.k.a. phppp): THE METHOD IS NOT COMPLETE AND NOT SAFE. YOU ARE ENCOURAGED TO USE PHP'S NATIVE FILTER_VAR OR FILTER_INPUT FUNCTIONS DIRECTLY BEFORE WE MIGRATE TO XOOPS 3.
20 20
  * @param                   $global
21
- * @param                   $key
21
+ * @param                   string $key
22 22
  * @param  string           $default
23 23
  * @param  string           $type
24
- * @return int|mixed|string
24
+ * @return integer
25 25
  */
26 26
 function system_CleanVars(&$global, $key, $default = '', $type = 'int')
27 27
 {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 }
104 104
 
105 105
 /**
106
- * @param $img
106
+ * @param string $img
107 107
  *
108 108
  * @return mixed
109 109
  */
Please login to merge, or discard this patch.
upgrade/upd-2.4.x-to-2.5.0/dbmanager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-     * @param $sql
203
+     * @param string $sql
204 204
      *
205 205
      * @return mixed
206 206
      */
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     }
213 213
 
214 214
     /**
215
-     * @param $table
215
+     * @param string $table
216 216
      *
217 217
      * @return mixed
218 218
      */
@@ -236,8 +236,8 @@  discard block
 block discarded – undo
236 236
     }
237 237
 
238 238
     /**
239
-     * @param $table
240
-     * @param $query
239
+     * @param string $table
240
+     * @param string $query
241 241
      *
242 242
      * @return bool
243 243
      */
Please login to merge, or discard this patch.
htdocs/modules/system/class/fineuploadhandler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * Get the original filename
65
+     * @return string
65 66
      */
66 67
     public function getName()
67 68
     {
@@ -269,6 +270,9 @@  discard block
 block discarded – undo
269 270
         }
270 271
     }
271 272
 
273
+    /**
274
+     * @param string $mimeType
275
+     */
272 276
     protected function storeUploadedFile($target, $mimeType, $uuid)
273 277
     {
274 278
         if (!is_dir(dirname($target))) {
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,9 +44,9 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param $text
47
+     * @param string $text
48 48
      *
49
-     * @return mixed|string
49
+     * @return string
50 50
      */
51 51
     public function php($text)
52 52
     {
Please login to merge, or discard this patch.
upgrade/class/control.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@
 block discarded – undo
57 57
     }
58 58
 
59 59
 
60
+    /**
61
+     * @param string $domain
62
+     */
60 63
     public function loadLanguage($domain, $language = null)
61 64
     {
62 65
         $supports = null;
Please login to merge, or discard this patch.
upgrade/upd-2.0.15-to-2.0.16/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $sql
20
+     * @param string $sql
21 21
      */
22 22
     protected function query($sql)
23 23
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.16-to-2.0.17/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     /**
20
-     * @param $sql
20
+     * @param string $sql
21 21
      */
22 22
     protected function query($sql)
23 23
     {
Please login to merge, or discard this patch.