Completed
Push — master ( 7a4940...1f2aec )
by Richard
16:27 queued 08:03
created
modules/protector/filters_disabled/postcommon_post_language_match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     /**
117 117
      * Execute the filter
118 118
      *
119
-     * @return bool
119
+     * @return boolean|null
120 120
      */
121 121
     public function execute()
122 122
     {
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_post_stopforumspam.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     protected $minimumConfidence = 65.0; // set at your desired threshold
24 24
 
25 25
     /**
26
-     * @return bool
26
+     * @return boolean|null
27 27
      */
28 28
     public function execute()
29 29
     {
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_register_insert_js_check.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 class protector_postcommon_register_insert_js_check extends ProtectorFilterAbstract
7 7
 {
8 8
     /**
9
-     * @return bool
9
+     * @return null|boolean
10 10
      */
11 11
     public function execute()
12 12
     {
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS/Length.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param string $string
35 35
      * @param HTMLPurifier_Config $config
36 36
      * @param HTMLPurifier_Context $context
37
-     * @return bool|string
37
+     * @return false|string
38 38
      */
39 39
     public function validate($string, $config, $context)
40 40
     {
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Pixels.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param string $string
25 25
      * @param HTMLPurifier_Config $config
26 26
      * @param HTMLPurifier_Context $context
27
-     * @return bool|string
27
+     * @return string|false
28 28
      */
29 29
     public function validate($string, $config, $context)
30 30
     {
Please login to merge, or discard this patch.
upgrade/upd-2.4.x-to-2.5.0/dbmanager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,8 +233,8 @@
 block discarded – undo
233 233
     }
234 234
 
235 235
     /**
236
-     * @param $table
237
-     * @param $query
236
+     * @param string $table
237
+     * @param string $query
238 238
      *
239 239
      * @return bool
240 240
      */
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_register_stopforumspam.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     protected $minimumConfidence = 65.0; // set at your desired threshold
24 24
 
25 25
     /**
26
-     * @return bool
26
+     * @return boolean|null
27 27
      */
28 28
     public function execute()
29 29
     {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/xoops/xmf/src/Xmf/Database/Tables.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -647,7 +647,7 @@  discard block
 block discarded – undo
647 647
      *
648 648
      * @param string                 $table      table
649 649
      * @param array                  $columns    array of 'column'=>'value' entries
650
-     * @param string|CriteriaElement $criteria   string where clause or object criteria
650
+     * @param \Criteria $criteria   string where clause or object criteria
651 651
      * @param boolean                $quoteValue true to quote values, false if caller handles quoting
652 652
      *
653 653
      * @return boolean true if no errors, false if errors encountered
@@ -708,7 +708,7 @@  discard block
 block discarded – undo
708 708
      * @param string $table    table
709 709
      * @param bool   $prefixed true to return with table name prefixed
710 710
      *
711
-     * @return string|false string SQL to create table, or false if errors encountered
711
+     * @return string|boolean string SQL to create table, or false if errors encountered
712 712
      */
713 713
     protected function renderTableCreate($table, $prefixed = false)
714 714
     {
@@ -745,7 +745,7 @@  discard block
 block discarded – undo
745 745
      * @param string $sql   SQL statement to execute
746 746
      * @param bool   $force true to use force updates even in safe requests
747 747
      *
748
-     * @return mixed result resource if no error,
748
+     * @return resource result resource if no error,
749 749
      *               true if no error but no result
750 750
      *               false if error encountered.
751 751
      *               Any error message is in $this->lastError;
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Lexer/PH5P.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -458,6 +458,9 @@  discard block
 block discarded – undo
458 458
     const CHARACTR = 4;
459 459
     const EOF = 5;
460 460
 
461
+    /**
462
+     * @param string $data
463
+     */
461 464
     public function __construct($data)
462 465
     {
463 466
         $this->data = $data;
@@ -478,6 +481,9 @@  discard block
 block discarded – undo
478 481
         return $this->tree->save();
479 482
     }
480 483
 
484
+    /**
485
+     * @return string
486
+     */
481 487
     private function char()
482 488
     {
483 489
         return ($this->char < $this->EOF)
@@ -485,6 +491,11 @@  discard block
 block discarded – undo
485 491
             : false;
486 492
     }
487 493
 
494
+    /**
495
+     * @param integer $s
496
+     *
497
+     * @return string
498
+     */
488 499
     private function character($s, $l = 0)
489 500
     {
490 501
         if ($s + $l < $this->EOF) {
@@ -496,6 +507,10 @@  discard block
 block discarded – undo
496 507
         }
497 508
     }
498 509
 
510
+    /**
511
+     * @param string $char_class
512
+     * @param integer $start
513
+     */
499 514
     private function characters($char_class, $start)
500 515
     {
501 516
         return preg_replace('#^([' . $char_class . ']+).*#s', '\\1', substr($this->data, $start));
@@ -4645,6 +4660,9 @@  discard block
 block discarded – undo
4645 4660
         }
4646 4661
     }
4647 4662
 
4663
+    /**
4664
+     * @param string[] $elements
4665
+     */
4648 4666
     private function clearStackToTableContext($elements)
4649 4667
     {
4650 4668
         /* When the steps above require the UA to clear the stack back to a
Please login to merge, or discard this patch.