Completed
Branch master (b5dddf)
by Richard
15:43
created
htdocs/class/xoopsform/formbutton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     /**
86 86
      * Set the initial value
87 87
      *
88
-     * @param $value
88
+     * @param string $value
89 89
      *
90 90
      * @return string
91 91
      */
Please login to merge, or discard this patch.
htdocs/class/xoopsform/formelement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
      *
324 324
      * @param  string $extra
325 325
      * @param  bool   $replace If true, passed string will replace current content otherwise it will be appended to it
326
-     * @return array  New content of the extra string
326
+     * @return string[]  New content of the extra string
327 327
      */
328 328
     public function setExtra($extra, $replace = false)
329 329
     {
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
      * Get the element's nocolspan
373 373
      * Modified by Catzwolf
374 374
      *
375
-     * @return string
375
+     * @return boolean
376 376
      *
377 377
      * @deprecated  PLEASE AVOID USING THIS METHOD
378 378
      */
Please login to merge, or discard this patch.
htdocs/class/xoopsform/formradio.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Set the pre-selected value
91 91
      *
92
-     * @param  $value string
92
+     * @param  string $value string
93 93
      */
94 94
     public function setValue($value)
95 95
     {
Please login to merge, or discard this patch.
htdocs/class/xoopsform/formtextarea.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Set initial content
104 104
      *
105
-     * @param  $value string
105
+     * @param  string $value string
106 106
      */
107 107
     public function setValue($value)
108 108
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * prepare HTML for output
114 114
      *
115
-     * @return sting HTML
115
+     * @return string HTML
116 116
      */
117 117
     public function render()
118 118
     {
Please login to merge, or discard this patch.
htdocs/class/xoopsform/grouppermform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
     /**
213 213
      * Constructor
214 214
      * @param      $caption
215
-     * @param      $name
215
+     * @param      string $name
216 216
      * @param      $groupId
217 217
      * @param null $values
218 218
      */
Please login to merge, or discard this patch.
htdocs/class/xoopskernel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * Convert a XOOPS path to a physical one
45 45
      * @param               $url
46 46
      * @param  bool         $virtual
47
-     * @return mixed|string
47
+     * @return string
48 48
      */
49 49
     public function path($url, $virtual = false)
50 50
     {
Please login to merge, or discard this patch.
htdocs/class/xoopslists.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
         /**
101 101
          * gets list of name of directories inside a directory
102
-         * @param $dirname
102
+         * @param string $dirname
103 103
          * @return array
104 104
          */
105 105
         public static function getDirListAsArray($dirname)
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 
131 131
         /**
132 132
          * gets list of all files in a directory
133
-         * @param        $dirname
133
+         * @param        string $dirname
134 134
          * @param string $prefix
135 135
          * @return array
136 136
          */
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
         /**
159 159
          * gets list of image file names in a directory
160
-         * @param        $dirname
160
+         * @param        string $dirname
161 161
          * @param string $prefix
162 162
          * @return array
163 163
          */
Please login to merge, or discard this patch.
htdocs/class/xoopsload.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     //static  $configs;
28 28
 
29 29
     /**
30
-     * @param        $name
30
+     * @param        string $name
31 31
      * @param string $type
32 32
      *
33 33
      * @return bool
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * Load core class
92 92
      *
93 93
      * @access private
94
-     * @param $name
94
+     * @param string $name
95 95
      * @return bool|string
96 96
      */
97 97
     public static function loadCore($name)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * Load Framework class
126 126
      *
127 127
      * @access private
128
-     * @param $name
128
+     * @param string $name
129 129
      * @return bool|string
130 130
      */
131 131
     public static function loadFramework($name)
Please login to merge, or discard this patch.
htdocs/class/xoopslocal.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * XoopsLocalAbstract::substr()
28 28
      *
29
-     * @param mixed  $str
30
-     * @param mixed  $start
31
-     * @param mixed  $length
29
+     * @param string  $str
30
+     * @param integer  $start
31
+     * @param integer  $length
32 32
      * @param string $trimmarker
33 33
      *
34 34
      * @return mixed|string
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * @param  mixed  $text
71 71
      * @param  string $to
72 72
      * @param  string $from
73
-     * @return mixed|string
73
+     * @return string
74 74
      */
75 75
     public static function convert_encoding($text, $to = 'utf-8', $from = '')
76 76
     {
Please login to merge, or discard this patch.