Completed
Push — master ( 8343f7...eada21 )
by Michael
12s
created
htdocs/class/xoopsform/form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
     /**
189 189
      * @param        $value
190 190
      * @param        $key
191
-     * @param        $ret
191
+     * @param        string $ret
192 192
      * @param string $hashinfo
193 193
      *
194 194
      * @return string
Please login to merge, or discard this patch.
htdocs/class/xoopsform/formbutton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * Set the initial value
88 88
      *
89
-     * @param $value
89
+     * @param string $value
90 90
      *
91 91
      * @return string
92 92
      */
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
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
      *
325 325
      * @param  string $extra
326 326
      * @param  bool   $replace If true, passed string will replace current content otherwise it will be appended to it
327
-     * @return array  New content of the extra string
327
+     * @return string[]  New content of the extra string
328 328
      */
329 329
     public function setExtra($extra, $replace = false)
330 330
     {
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      * Get the element's nocolspan
374 374
      * Modified by Catzwolf
375 375
      *
376
-     * @return string
376
+     * @return boolean
377 377
      *
378 378
      * @deprecated  PLEASE AVOID USING THIS METHOD
379 379
      */
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
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Set the pre-selected value
89 89
      *
90
-     * @param  $value string
90
+     * @param  string $value string
91 91
      */
92 92
     public function setValue($value)
93 93
     {
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
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     /**
104 104
      * Set initial content
105 105
      *
106
-     * @param  $value string
106
+     * @param  string $value string
107 107
      */
108 108
     public function setValue($value)
109 109
     {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     /**
114 114
      * prepare HTML for output
115 115
      *
116
-     * @return sting HTML
116
+     * @return string HTML
117 117
      */
118 118
     public function render()
119 119
     {
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
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * Convert a XOOPS path to a physical one
46 46
      * @param               $url
47 47
      * @param  bool         $virtual
48
-     * @return mixed|string
48
+     * @return string
49 49
      */
50 50
     public function path($url, $virtual = false)
51 51
     {
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
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         /**
102 102
          * gets list of name of directories inside a directory
103
-         * @param $dirname
103
+         * @param string $dirname
104 104
          * @return array
105 105
          */
106 106
         public static function getDirListAsArray($dirname)
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
         /**
133 133
          * gets list of all files in a directory
134
-         * @param        $dirname
134
+         * @param        string $dirname
135 135
          * @param string $prefix
136 136
          * @return array
137 137
          */
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         /**
160 160
          * gets list of image file names in a directory
161
-         * @param        $dirname
161
+         * @param        string $dirname
162 162
          * @param string $prefix
163 163
          * @return array
164 164
          */
Please login to merge, or discard this patch.
htdocs/class/xoopslocal.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * XoopsLocalAbstract::substr()
29 29
      *
30
-     * @param mixed  $str
31
-     * @param mixed  $start
32
-     * @param mixed  $length
30
+     * @param string  $str
31
+     * @param integer  $start
32
+     * @param integer  $length
33 33
      * @param string $trimmarker
34 34
      *
35 35
      * @return mixed|string
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @param  mixed  $text
72 72
      * @param  string $to
73 73
      * @param  string $from
74
-     * @return mixed|string
74
+     * @return string
75 75
      */
76 76
     public static function convert_encoding($text, $to = 'utf-8', $from = '')
77 77
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * Setting $timeoffset to null (by default) will skip timezone calculation for user, using default timezone instead, which is a MUST for cached contents
125 125
      * @param        $time
126 126
      * @param string $format
127
-     * @param null   $timeoffset
127
+     * @param string   $timeoffset
128 128
      * @return string
129 129
      */
130 130
     public static function formatTimestamp($time, $format = 'l', $timeoffset = null)
Please login to merge, or discard this patch.
htdocs/class/xoopsmailer.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     // public
141 141
     /**
142
-     * @param null $value
142
+     * @param string $value
143 143
      */
144 144
     public function setTemplateDir($value = null)
145 145
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
     // private
155 155
     /**
156
-     * @return bool|string
156
+     * @return string|false
157 157
      */
158 158
     public function getTemplatePath()
159 159
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     // public
179 179
     /**
180
-     * @param $value
180
+     * @param string $value
181 181
      */
182 182
     public function setTemplate($value)
183 183
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     // public
227 227
     /**
228
-     * @param $value
228
+     * @param string $value
229 229
      */
230 230
     public function setSubject($value)
231 231
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
     // public
236 236
     /**
237
-     * @param $value
237
+     * @param string $value
238 238
      */
239 239
     public function setBody($value)
240 240
     {
@@ -364,8 +364,8 @@  discard block
 block discarded – undo
364 364
     // private
365 365
     /**
366 366
      * @param $uid
367
-     * @param $subject
368
-     * @param $body
367
+     * @param string $subject
368
+     * @param string $body
369 369
      *
370 370
      * @return bool
371 371
      */
@@ -392,9 +392,9 @@  discard block
 block discarded – undo
392 392
      * Uses the new XoopsMultiMailer
393 393
      *
394 394
      * @param $email
395
-     * @param $subject
396
-     * @param $body
397
-     * @param $headers
395
+     * @param string $subject
396
+     * @param string $body
397
+     * @param string $headers
398 398
      *
399 399
      * @return bool
400 400
      */
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     // abstract
562 562
     // to be overridden by lang specific mail class, if needed
563 563
     /**
564
-     * @param $text
564
+     * @param string $text
565 565
      *
566 566
      * @return mixed
567 567
      */
Please login to merge, or discard this patch.