Completed
Pull Request — master (#12)
by
unknown
01:54
created
admin/importxwords.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.
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.
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.