Completed
Pull Request — master (#12)
by
unknown
01:54
created
include/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  *
23 23
  * @var		array	$items	associative array of items: [modid][catid][itemid]
24 24
  *
25
- * @return	boolean
25
+ * @return	false|null
26 26
  *
27 27
  */
28 28
 
Please login to merge, or discard this patch.
admin/importdictionary.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
  ***
43 43
  * @param $msg
44 44
  */
45
+/**
46
+ * @param string $msg
47
+ */
45 48
 function showerror($msg)
46 49
 {
47 50
     global $xoopsDB;
Please login to merge, or discard this patch.
admin/importwordbook.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
  * @param $msg
48 48
  */
49 49
 
50
+/**
51
+ * @param string $msg
52
+ */
50 53
 function showerror($msg)
51 54
 {
52 55
     global $xoopsDB;
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * Constructor
69
-     * @param $title
70
-     * @param $modid
71
-     * @param $permname
72
-     * @param $permdesc
69
+     * @param string $title
70
+     * @param integer $modid
71
+     * @param string $permname
72
+     * @param string $permdesc
73 73
      */
74 74
     public function __construct($title, $modid, $permname, $permdesc)
75 75
     {
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
      * Add appendix
103 103
      *
104 104
      * @access public
105
-     * @param $permName
105
+     * @param string $permName
106 106
      * @param $itemId
107
-     * @param $itemName
107
+     * @param string $itemName
108 108
      */
109 109
     public function addAppendix($permName, $itemId, $itemName)
110 110
     {
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * Constructor
256 256
      * @param      $caption
257
-     * @param      $name
257
+     * @param      string $name
258 258
      * @param      $groupId
259 259
      * @param null $values
260 260
      */
Please login to merge, or discard this patch.
admin/upgrade.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 $go = isset($_POST['go']) ? $_POST['go'] : 0;
16 16
 
17 17
 /**
18
- * @param $msg
18
+ * @param string $msg
19 19
  */
20 20
 function showerror($msg)
21 21
 {
Please login to merge, or discard this patch.
class/plugins/plugin.tag.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
  *
22 22
  * @var array $items associative array of items: [modid][catid][itemid]
23 23
  *
24
- * @return boolean
24
+ * @return false|null
25 25
  *
26 26
  */
27 27
 
Please login to merge, or discard this patch.
class/Utility.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,6 @@
 block discarded – undo
18 18
  * @author       XOOPS Development Team, hsalazar
19 19
  */
20 20
 
21
-use Xmf\Request;
22
-use Xmf\Module\Helper;
23
-
24 21
 /**
25 22
  * Class LexikonUtility
26 23
  */
Please login to merge, or discard this patch.
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 }
197 197
 
198 198
     /**
199
-     * @param $user
199
+     * @param integer $user
200 200
      */
201 201
 public static function getUserForm($user)
202 202
 {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 }
326 326
 
327 327
     /**
328
-     * @return array
328
+     * @return string
329 329
      * 
330 330
      */
331 331
 function uchr($a) {
@@ -834,7 +834,7 @@  discard block
 block discarded – undo
834 834
 
835 835
     //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig
836 836
     /**
837
-     * @param         $option
837
+     * @param         string $option
838 838
      * @param  string $repmodule
839 839
      * @return bool
840 840
      */
@@ -890,8 +890,8 @@  discard block
 block discarded – undo
890 890
     /**
891 891
      * Retreive an editor according to the module's option "form_options"
892 892
      * following function is from News modified by trabis
893
-     * @param                                                                                                                                 $caption
894
-     * @param                                                                                                                                 $name
893
+     * @param                                                                                                                                 string $caption
894
+     * @param                                                                                                                                 string $name
895 895
      * @param  string                                                                                                                         $value
896 896
      * @param  string                                                                                                                         $width
897 897
      * @param  string                                                                                                                         $height
@@ -1147,7 +1147,7 @@  discard block
 block discarded – undo
1147 1147
     // functionset to assign terms with accentuated or umlaut initials to the adequate initial
1148 1148
     /**
1149 1149
      * @param $string
1150
-     * @return mixed|string
1150
+     * @return string
1151 1151
      */
1152 1152
 public static function removeAccents($string)
1153 1153
 {
@@ -1297,7 +1297,7 @@  discard block
 block discarded – undo
1297 1297
 
1298 1298
     /**
1299 1299
      * @param $field
1300
-     * @return mixed|string
1300
+     * @return string
1301 1301
      */
1302 1302
 public static function sanitizeFieldName($field)
1303 1303
 {
@@ -1416,7 +1416,7 @@  discard block
 block discarded – undo
1416 1416
     /**
1417 1417
      * @author   Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson
1418 1418
      *           <amos dot robinson at gmail dot com>
1419
-     * @param $string
1419
+     * @param string $string
1420 1420
      * @return string
1421 1421
      */
1422 1422
 public static function closeTags($string)
Please login to merge, or discard this patch.
include/gtickets.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
          * @param  bool   $post
168 168
          * @param  string $area
169 169
          * @param  bool   $allow_repost
170
-         * @return bool
170
+         * @return null|boolean
171 171
          */
172 172
         public function check($post = true, $area = '', $allow_repost = true)
173 173
         {
@@ -311,9 +311,9 @@  discard block
 block discarded – undo
311 311
         }
312 312
 
313 313
         /**
314
-         * @param $key_name
314
+         * @param string $key_name
315 315
          * @param $tmp_array
316
-         * @return array
316
+         * @return string[]
317 317
          */
318 318
         public function extract_post_recursive($key_name, $tmp_array)
319 319
         {
Please login to merge, or discard this patch.
admin/importglossaire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
  ***
43 43
  * @param $msg
44 44
  */
45
+/**
46
+ * @param string $msg
47
+ */
45 48
 function showerror($msg)
46 49
 {
47 50
     global $xoopsDB;
Please login to merge, or discard this patch.