Completed
Pull Request — master (#12)
by
unknown
01:54
created
blocks/entries_initial.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
 
13 13
 /**
14 14
  * @param $options
15
- * @return array
15
+ * @param integer $a
16
+ * @return string
16 17
  */
17 18
 function uchr($a) {
18 19
     if (is_scalar($a)) $a= func_get_args();
Please login to merge, or discard this patch.
admin/functions.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -392,8 +392,8 @@  discard block
 block discarded – undo
392 392
  * save_permissions()
393 393
  * adapted from WF-Downloads
394 394
  * @param $groups
395
- * @param $id
396
- * @param $perm_name
395
+ * @param integer $id
396
+ * @param string $perm_name
397 397
  * @return bool
398 398
  */
399 399
 
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
 
425 425
 //-- Initial Selector
426 426
 /**
427
- * @param $init
427
+ * @param integer $init
428 428
  */
429 429
 function lx_getinit($init)
430 430
 {  
@@ -457,6 +457,9 @@  discard block
 block discarded – undo
457 457
     } 
458 458
     echo "</select></div>";
459 459
 }
460
+/**
461
+ * @param integer $a
462
+ */
460 463
 function uchr($a) {
461 464
     if (is_scalar($a)) $a= func_get_args();
462 465
     $str= '';
Please login to merge, or discard this patch.
class/lexikontree.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     //sets the names of table, unique id, and parend id
42 42
     /**
43 43
      * @param $table_name
44
-     * @param $id_name
45
-     * @param $pid_name
44
+     * @param string $id_name
45
+     * @param string $pid_name
46 46
      * @return lexikontree
47 47
      */
48 48
     public function __construct($table_name, $id_name, $pid_name)
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     /**
300 300
      * Enter description here...
301 301
      *
302
-     * @param int|mixed    $sel_id
302
+     * @param integer    $sel_id
303 303
      * @param string|mixed $order
304 304
      * @param array|mixed  $parray
305 305
      *
@@ -328,8 +328,8 @@  discard block
 block discarded – undo
328 328
     /**
329 329
      * Enter description here...
330 330
      *
331
-     * @param  int|mixed    $sel_id
332
-     * @param  string|mixed $order
331
+     * @param  integer    $sel_id
332
+     * @param  string $order
333 333
      * @param  array|mixed  $parray
334 334
      * @param  string|mixed $r_prefix
335 335
      * @return array|unknown|unknown_type
Please login to merge, or discard this patch.
class/Utility.php 1 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/functions.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -561,6 +561,11 @@  discard block
 block discarded – undo
561 561
 }
562 562
 
563 563
 //Retrieve moduleoptions equivalent to $Xoopsmoduleconfig
564
+/**
565
+ * @param string $option
566
+ *
567
+ * @return string
568
+ */
564 569
 function lx_getmoduleoption($option, $repmodule='lexikon') {
565 570
     global $xoopsModuleConfig, $xoopsModule;
566 571
     static $tbloptions= [];
@@ -983,6 +988,7 @@  discard block
 block discarded – undo
983 988
 /**
984 989
  * @author   Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson
985 990
  *           <amos dot robinson at gmail dot com>
991
+ * @param string $string
986 992
  */
987 993
 function lx_close_tags($string) {
988 994
     // match opened tags
Please login to merge, or discard this patch.