Completed
Push — bs3 ( c41c63...8eacc5 )
by Richard
06:02
created
htdocs/include/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  * @deprecated
23 23
  * @param string $name
24 24
  * @param mixed $optional
25
- * @return XoopsObjectHandler|XoopsPersistableObjectHandler|null
25
+ * @return Xoops\Core\Kernel\XoopsObjectHandler|null
26 26
  */
27 27
 function xoops_getHandler($name, $optional = false)
28 28
 {
Please login to merge, or discard this patch.
htdocs/install/class/installwizard.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @param $page
200
+     * @param string $page
201 201
      *
202 202
      * @return string
203 203
      */
Please login to merge, or discard this patch.
htdocs/modules/images/class/image.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Xoops\Core\Database\Connection;
13 13
 use Xoops\Core\Kernel\Criteria;
14 14
 use Xoops\Core\Kernel\CriteriaCompo;
15
-use Xoops\Core\Kernel\CriteriaElement;
16 15
 use Xoops\Core\Kernel\XoopsObject;
17 16
 use Xoops\Core\Kernel\XoopsPersistableObjectHandler;
18 17
 
Please login to merge, or discard this patch.
htdocs/modules/protector/class/ProtectorFilter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -78,6 +78,10 @@
 block discarded – undo
78 78
     }
79 79
 
80 80
     // return: false : execute default action
81
+
82
+    /**
83
+     * @param string $type
84
+     */
81 85
     function execute($type)
82 86
     {
83 87
         $ret = 0;
Please login to merge, or discard this patch.
htdocs/modules/protector/class/ProtectorMysqlDatabase.class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
54 54
 }
55 55
 
56 56
 
57
+/**
58
+ * @param string $sql
59
+ */
57 60
 function injectionFound( $sql )
58 61
 {
59 62
     $protector = Protector::getInstance() ;
@@ -65,6 +68,9 @@  discard block
 block discarded – undo
65 68
 }
66 69
 
67 70
 
71
+/**
72
+ * @param string $sql
73
+ */
68 74
 function separateStringsInSQL( $sql )
69 75
 {
70 76
     $sql = trim( $sql ) ;
Please login to merge, or discard this patch.
htdocs/modules/publisher/class/file.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
 class PublisherFileHandler extends XoopsPersistableObjectHandler
252 252
 {
253 253
     /**
254
-     * @param null|object $db
254
+     * @param Connection $db
255 255
      */
256 256
     public function __construct(Connection $db)
257 257
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Xoops\Core\Database\Connection;
13 13
 use Xoops\Core\Kernel\XoopsObject;
14
-use Xoops\Core\Kernel\XoopsObjectHandler;
15 14
 use Xoops\Core\Kernel\XoopsPersistableObjectHandler;
16 15
 use Xoops\Core\Kernel\Criteria;
17 16
 use Xoops\Core\Kernel\CriteriaCompo;
Please login to merge, or discard this patch.
htdocs/modules/publisher/class/item.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * @param string $format
141 141
      * @param string $stripTags
142 142
      *
143
-     * @return mixed|string
143
+     * @return string
144 144
      */
145 145
     public function summary($maxLength = 0, $format = "S", $stripTags = '')
146 146
     {
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
      * @param int    $max_char_summary
622 622
      * @param bool   $full_summary
623 623
      *
624
-     * @return array
624
+     * @return integer
625 625
      */
626 626
     public function toArray($display = 'default', $max_char_title = 0, $max_char_summary = 0, $full_summary = false)
627 627
     {
@@ -758,7 +758,7 @@  discard block
 block discarded – undo
758 758
 
759 759
     /**
760 760
      * @param string       $content
761
-     * @param string|array $keywords
761
+     * @param string $keywords
762 762
      *
763 763
      * @return string Text
764 764
      */
@@ -1383,7 +1383,7 @@  discard block
 block discarded – undo
1383 1383
      * addNotNullFieldClause exclude rows where specified columns are empty or null
1384 1384
      *
1385 1385
      * @param QueryBuilder $qb            QueryBuilder instance
1386
-     * @param string|array $notNullFields fields that should not be empty
1386
+     * @param string $notNullFields fields that should not be empty
1387 1387
      * @param string       $whereMode     Initial where method, 'AND' andWhere(), otherwise where()
1388 1388
      *
1389 1389
      * @return QueryBuilder instance
Please login to merge, or discard this patch.
htdocs/modules/publisher/class/plugin/search.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,12 @@
 block discarded – undo
35 35
         return self::searchAdvanced($queryarray, $andor, $limit, $offset, $userid, $categories, $sortby, $searchin, $extra);
36 36
     }
37 37
 
38
+    /**
39
+     * @param string[] $queryarray
40
+     * @param string $andor
41
+     * @param integer $limit
42
+     * @param integer $offset
43
+     */
38 44
     public function searchAdvanced($queryarray, $andor, $limit, $offset, $userid, $categories = array(), $sortby = 0, $searchin = "", $extra = "")
39 45
     {
40 46
         $publisher = Publisher::getInstance();
Please login to merge, or discard this patch.
htdocs/modules/publisher/class/utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
     /**
347 347
      * Check is current user is author of a given article
348 348
      *
349
-     * @param object $itemObj
349
+     * @param PublisherItem $itemObj
350 350
      *
351 351
      * @return bool
352 352
      */
Please login to merge, or discard this patch.