Completed
Pull Request — master (#508)
by Lucio
17:21 queued 07:25
created
htdocs/install/class/pathcontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
      * @param bool   $create
262 262
      *
263 263
      * @internal param bool $recurse
264
-     * @return false on failure, method (u-ser,g-roup,w-orld) on success
264
+     * @return false|string on failure, method (u-ser,g-roup,w-orld) on success
265 265
      */
266 266
     public function makeWritable($path, $create = true)
267 267
     {
Please login to merge, or discard this patch.
htdocs/install/include/createconfigform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
 /**
241 241
  * @param $config
242 242
  *
243
- * @return array
243
+ * @return XoopsThemeForm[]
244 244
  */
245 245
 function createThemeform($config)
246 246
 {
Please login to merge, or discard this patch.
htdocs/install/include/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -441,8 +441,8 @@  discard block
 block discarded – undo
441 441
 /**
442 442
  * *#@+
443 443
  * Xoops Write Licence System Key
444
- * @param        $system_key
445
- * @param        $licensefile
444
+ * @param        string $system_key
445
+ * @param        string $licensefile
446 446
  * @param string $license_file_dist
447 447
  * @return string
448 448
  */
@@ -517,8 +517,8 @@  discard block
 block discarded – undo
517 517
 /**
518 518
  * *#@+
519 519
  * Xoops Stripe Licence System Key
520
- * @param $xoops_key
521
- * @return mixed|string
520
+ * @param string $xoops_key
521
+ * @return string
522 522
  */
523 523
 function xoStripeKey($xoops_key)
524 524
 {
Please login to merge, or discard this patch.
htdocs/kernel/blockinstance.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param  string $name
60 60
      * @param  array  $args
61
-     * @return null
61
+     * @return boolean
62 62
      */
63 63
     public function __set($name, $args)
64 64
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param  string $name
123 123
      * @param  array  $args
124
-     * @return null
124
+     * @return boolean
125 125
      */
126 126
     public function __set($name, $args)
127 127
     {
Please login to merge, or discard this patch.
htdocs/kernel/comment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -570,7 +570,7 @@
 block discarded – undo
570 570
      * @param int $item_id   Item ID
571 571
      * @param int $status    Status of the comment
572 572
      *
573
-     * @return array Array of {@link XoopsComment} objects
573
+     * @return integer Array of {@link XoopsComment} objects
574 574
      **/
575 575
     public function getCountByItemId($module_id, $item_id, $status = null)
576 576
     {
Please login to merge, or discard this patch.
htdocs/kernel/groupperm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
      *
124 124
      * @param bool $isNew
125 125
      *
126
-     * @return bool $isNew  Flag the object as "new"?
126
+     * @return XoopsGroupPerm $isNew  Flag the object as "new"?
127 127
      */
128 128
     public function create($isNew = true)
129 129
     {
Please login to merge, or discard this patch.
htdocs/kernel/imageset.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      *
242 242
      * @param  int    $imgset_id
243 243
      * @param  string $tplset_name
244
-     * @return array
244
+     * @return boolean
245 245
      */
246 246
     public function linkThemeset($imgset_id, $tplset_name)
247 247
     {
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      *
268 268
      * @param  int    $imgset_id
269 269
      * @param  string $tplset_name
270
-     * @return array
270
+     * @return boolean
271 271
      */
272 272
     public function unlinkThemeset($imgset_id, $tplset_name)
273 273
     {
Please login to merge, or discard this patch.
htdocs/kernel/member.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * constructor
59
-     * @param XoopsDatabase|null| $db
59
+     * @param XoopsDatabase $db
60 60
      */
61 61
     public function __construct(XoopsDatabase $db)
62 62
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      *
233 233
      * @param  int $group_id ID of the group
234 234
      * @param  int $user_id  ID of the user
235
-     * @return XoopsMembership XoopsMembership
235
+     * @return boolean XoopsMembership
236 236
      */
237 237
     public function addUserToGroup($group_id, $user_id)
238 238
     {
Please login to merge, or discard this patch.
htdocs/kernel/module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -431,7 +431,7 @@
 block discarded – undo
431 431
     }
432 432
 
433 433
     /**
434
-     * @param $dirname
434
+     * @param string $dirname
435 435
      *
436 436
      * @return mixed
437 437
      */
Please login to merge, or discard this patch.