Completed
Pull Request — master (#133)
by Goffy
16:45
created
htdocs/class/xoopsblock.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     /**
292 292
      * XoopsBlock::getOptions()
293 293
      *
294
-     * @return bool
294
+     * @return string
295 295
      */
296 296
     public function getOptions()
297 297
     {
@@ -327,14 +327,14 @@  discard block
 block discarded – undo
327 327
      * get all the blocks that match the supplied parameters
328 328
      * @param        $groupid  groupid (can be an array)
329 329
      * @param bool   $asobject
330
-     * @param        $side     0: sideblock - left
330
+     * @param        integer $side     0: sideblock - left
331 331
      *                         1: sideblock - right
332 332
      *                         2: sideblock - left and right
333 333
      *                         3: centerblock - left
334 334
      *                         4: centerblock - right
335 335
      *                         5: centerblock - center
336 336
      *                         6: centerblock - left, right, center
337
-     * @param        $visible  0: not visible 1: visible
337
+     * @param        integer $visible  0: not visible 1: visible
338 338
      * @param string $orderby  order of the blocks
339 339
      * @param int    $isactive
340 340
      * @returns array of block objects
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
      * XoopsBlock::getByModule()
462 462
      *
463 463
      * @param  mixed $moduleid
464
-     * @param  mixed $asobject
464
+     * @param  boolean $asobject
465 465
      * @return array
466 466
      */
467 467
     public static function getByModule($moduleid, $asobject = true)
@@ -491,8 +491,8 @@  discard block
 block discarded – undo
491 491
      *
492 492
      * @param  mixed   $groupid
493 493
      * @param  integer $module_id
494
-     * @param  mixed   $toponlyblock
495
-     * @param  mixed   $visible
494
+     * @param  boolean   $toponlyblock
495
+     * @param  integer   $visible
496 496
      * @param  string  $orderby
497 497
      * @param  integer $isactive
498 498
      * @return array
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/tinymce/formtinymce.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
     /**
122 122
      * prepare HTML for output
123 123
      *
124
-     * @return sting HTML
124
+     * @return string HTML
125 125
      */
126 126
     public function render()
127 127
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/tinymce/tinymce.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
     /**
253 253
      * @param string $css_file
254 254
      *
255
-     * @return array
255
+     * @return string[]
256 256
      */
257 257
     public function loadCss($css_file = 'style.css')
258 258
     {
Please login to merge, or discard this patch.
htdocs/class/xoopseditor/xoopseditor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
     /**
147 147
      * XoopsEditorHandler::getList()
148 148
      *
149
-     * @param mixed $noHtml
149
+     * @param boolean $noHtml
150 150
      *
151 151
      * @return array
152 152
      */
Please login to merge, or discard this patch.
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/formbuttontray.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * XoopsFormButtonTray::setValue()
76 76
      *
77
-     * @param mixed $value
77
+     * @param string $value
78 78
      *
79 79
      * @return void
80 80
      */
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * XoopsFormButtonTray::render()
98 98
      *
99
-     * @return string|void
99
+     * @return string
100 100
      */
101 101
     public function render()
102 102
     {
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.