Completed
Push — master ( 937117...931dfe )
by Michael
05:45 queued 02:42
created
admin/submissions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
 // -- Edit function -- //
28 28
 /**
29
- * @param string $articleID
29
+ * @param integer $articleID
30 30
  */
31 31
 function editarticle($articleID = '')
32 32
 {
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
     /**
244 244
      * Constructor
245 245
      * @param      $caption
246
-     * @param      $name
246
+     * @param      string $name
247 247
      * @param      $groupId
248 248
      * @param null $values
249 249
      */
Please login to merge, or discard this patch.
class/entrydata.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * create a new Article
63 63
      *
64 64
      * @param  bool $isNew
65
-     * @return object SoapboxSbarticles reference to the new Article
65
+     * @return SoapboxSbarticles SoapboxSbarticles reference to the new Article
66 66
      */
67 67
     public function &createArticle($isNew = true)
68 68
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * create a new Column
76 76
      *
77 77
      * @param  bool $isNew
78
-     * @return object SoapboxSbcolumns reference to the new Column
78
+     * @return SoapboxSbcolumns SoapboxSbcolumns reference to the new Column
79 79
      */
80 80
     public function &createColumn($isNew = true)
81 81
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * create a new Votedata
89 89
      *
90 90
      * @param  bool $isNew
91
-     * @return object SoapboxSbvotedata reference to the new Votedata
91
+     * @return SoapboxSbvotedata SoapboxSbvotedata reference to the new Votedata
92 92
      */
93 93
     public function &createVotedata($isNew = true)
94 94
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * insert a new Column in the database
121 121
      *
122
-     * @param  object $sbcolumn reference to the {@link SoapboxSbcolumns} object
122
+     * @param  SoapboxSbarticles $sbcolumn reference to the {@link SoapboxSbcolumns} object
123 123
      * @param  bool   $force
124 124
      * @return bool   FALSE if failed, TRUE if already present and unchanged or successful
125 125
      */
Please login to merge, or discard this patch.
class/sbarticles.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
     /**
433 433
      * retrieve a entry
434 434
      *
435
-     * @param  mixed|null $id
435
+     * @param  integer $id
436 436
      * @param  null       $fields
437 437
      * @return mixed      reference to the <a href='psi_element://soapboxEntry'>soapboxEntry</a> object, FALSE if failed
438 438
      *                           object, FALSE if failed
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
     /**
508 508
      * insert a new entry in the database
509 509
      *
510
-     * @param  XoopsObject $sbarticle reference to the {@link SoapboxSbarticles} object
510
+     * @param  SoapboxSbarticles $sbarticle reference to the {@link SoapboxSbarticles} object
511 511
      * @param  bool        $force
512 512
      * @return bool        FALSE if failed, TRUE if already present and unchanged or successful
513 513
      */
Please login to merge, or discard this patch.
class/sbcolumns.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      * create a new category
286 286
      *
287 287
      * @param  bool $isNew flag the new objects as "new"?
288
-     * @return object SoapboxSbcolumns
288
+     * @return SoapboxSbcolumns SoapboxSbcolumns
289 289
      */
290 290
     public function create($isNew = true)
291 291
     {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
     /**
301 301
      * retrieve a category
302 302
      *
303
-     * @param  mixed|null $id
303
+     * @param  integer $id
304 304
      * @param  null       $fields
305 305
      * @return mixed      reference to the <a href='psi_element://SoapboxSbcolumns'>SoapboxSbcolumns</a> object, FALSE if failed
306 306
      *                           object, FALSE if failed
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
     /**
468 468
      * updates a single field in a Column record
469 469
      *
470
-     * @param  object $entry      reference to the {@link SoapboxSbcolumns} object
470
+     * @param  SoapboxSbcolumns $entry      reference to the {@link SoapboxSbcolumns} object
471 471
      * @param  string $fieldName  name of the field to update
472 472
      * @param  string $fieldValue updated value for the field
473 473
      * @param  bool   $force
Please login to merge, or discard this patch.
class/sbvotedata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      * create a new entry
280 280
      *
281 281
      * @param  bool $isNew flag the new objects as "new"?
282
-     * @return object SoapboxSbvotedata
282
+     * @return SoapboxSbvotedata SoapboxSbvotedata
283 283
      */
284 284
     public function &create($isNew = true)
285 285
     {
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
     /**
295 295
      * retrieve a entry
296 296
      *
297
-     * @param  mixed|null $id
297
+     * @param  integer $id
298 298
      * @param  null       $fields
299 299
      * @return mixed      reference to the <a href='psi_element://Entry'>Entry</a> object, FALSE if failed
300 300
      *                           object, FALSE if failed
Please login to merge, or discard this patch.
include/oninstall.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,6 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team
18 18
  */
19 19
 
20
-use Xmf\Language;
21
-
22 20
 /**
23 21
  *
24 22
  * Prepares system prior to attempting to install module
Please login to merge, or discard this patch.
include/onupdate.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
  * @param XoopsModule $module {@link XoopsModule}
70 70
  * @param null        $previousVersion
71 71
  *
72
- * @return bool true if update successful, false if not
72
+ * @return boolean|null true if update successful, false if not
73 73
  */
74 74
 
75 75
 function xoops_module_update_soapbox(XoopsModule $module, $previousVersion = null)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,6 @@
 block discarded – undo
17 17
  * @author       XOOPS Development Team
18 18
  */
19 19
 
20
-use Xmf\Language;
21
-
22 20
 if ((!defined('XOOPS_ROOT_PATH')) || !($GLOBALS['xoopsUser'] instanceof XoopsUser)
23 21
     || !$GLOBALS['xoopsUser']->IsAdmin()) {
24 22
     exit('Restricted access' . PHP_EOL);
Please login to merge, or discard this patch.