Completed
Push — master ( 2a11ad...41e1d0 )
by Michael
02:56
created
class/common/tree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * @param bool    $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy
66 66
      * @param integer $key            ID of the object to display as the root of select options
67 67
      *
68
-     * @return array $optionsArray   Associative array of value->name pairs, useful for {@link XoopsFormSelect}->addOptionArray method
68
+     * @return string $optionsArray   Associative array of value->name pairs, useful for {@link XoopsFormSelect}->addOptionArray method
69 69
      */
70 70
     public function makeSelBox($fieldName, $prefix = '-', $addEmptyOption = false, $key = 0)
71 71
     {
Please login to merge, or discard this patch.
class/tree.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -60,13 +60,13 @@
 block discarded – undo
60 60
      *
61 61
      * @param string  $name
62 62
      * @param string  $fieldName      Name of the member variable from the node objects that should be used as the title for the options.
63
-     * @param string  $prefix         String to indent deeper levels
64
-     * @param string  $selected
63
+     * @param boolean  $prefix         String to indent deeper levels
64
+     * @param integer  $selected
65 65
      * @param bool    $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy
66 66
      * @param integer $key            ID of the object to display as the root of select options
67 67
      *
68 68
      * @param string  $extra
69
-     * @return array $optionsArray   Associative array of value->name pairs, useful for <a href='psi_element://XoopsFormSelect'>XoopsFormSelect</a>->addOptionArray method
69
+     * @return string $optionsArray   Associative array of value->name pairs, useful for <a href='psi_element://XoopsFormSelect'>XoopsFormSelect</a>->addOptionArray method
70 70
      *                                addOptionArray method
71 71
      */
72 72
 
Please login to merge, or discard this patch.