Completed
Pull Request — master (#320)
by Richard
08:33
created
htdocs/modules/system/class/thumbs/phpthumb.gif.php 1 patch
Doc Comments   +46 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
 
65 65
 ///////////////////////////////////////////////////////////////////////////////////////////////////
66 66
 
67
+/**
68
+ * @param string $lpszFileName
69
+ */
67 70
 function gif_outputAsBmp($gif, $lpszFileName, $bgColor = -1)
68 71
 {
69 72
 	if (!isset($gif) || (@get_class($gif) <> 'cgif') || !$gif->loaded() || ($lpszFileName == '')) {
@@ -186,6 +189,10 @@  discard block
 block discarded – undo
186 189
 
187 190
 	///////////////////////////////////////////////////////////////////////////
188 191
 
192
+	/**
193
+	 * @param string $data
194
+	 * @param integer $datLen
195
+	 */
189 196
 	function deCompress($data, &$datLen)
190 197
 	{
191 198
 		$stLen  = strlen($data);
@@ -210,6 +217,11 @@  discard block
 block discarded – undo
210 217
 
211 218
 	///////////////////////////////////////////////////////////////////////////
212 219
 
220
+	/**
221
+	 * @param boolean $bInit
222
+	 *
223
+	 * @return integer
224
+	 */
213 225
 	function LZWCommand(&$data, $bInit)
214 226
 	{
215 227
 		if ($bInit) {
@@ -392,6 +404,10 @@  discard block
 block discarded – undo
392 404
 
393 405
 	///////////////////////////////////////////////////////////////////////////
394 406
 
407
+	/**
408
+	 * @param string $lpData
409
+	 * @param integer $num
410
+	 */
395 411
 	function load($lpData, $num)
396 412
 	{
397 413
 		$this->m_nColors  = 0;
@@ -504,6 +520,9 @@  discard block
 block discarded – undo
504 520
 
505 521
 	///////////////////////////////////////////////////////////////////////////
506 522
 
523
+	/**
524
+	 * @param integer $hdrLen
525
+	 */
507 526
 	function load($lpData, &$hdrLen)
508 527
 	{
509 528
 		$hdrLen = 0;
@@ -541,6 +560,9 @@  discard block
 block discarded – undo
541 560
 
542 561
 	///////////////////////////////////////////////////////////////////////////
543 562
 
563
+	/**
564
+	 * @param string $str
565
+	 */
544 566
 	function w2i($str)
545 567
 	{
546 568
 		return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -579,6 +601,10 @@  discard block
 block discarded – undo
579 601
 
580 602
 	///////////////////////////////////////////////////////////////////////////
581 603
 
604
+	/**
605
+	 * @param string $lpData
606
+	 * @param integer $hdrLen
607
+	 */
582 608
 	function load($lpData, &$hdrLen)
583 609
 	{
584 610
 		$hdrLen = 0;
@@ -612,6 +638,9 @@  discard block
 block discarded – undo
612 638
 
613 639
 	///////////////////////////////////////////////////////////////////////////
614 640
 
641
+	/**
642
+	 * @param string $str
643
+	 */
615 644
 	function w2i($str)
616 645
 	{
617 646
 		return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -649,6 +678,10 @@  discard block
 block discarded – undo
649 678
 
650 679
 	///////////////////////////////////////////////////////////////////////////
651 680
 
681
+	/**
682
+	 * @param string $data
683
+	 * @param integer $datLen
684
+	 */
652 685
 	function load($data, &$datLen)
653 686
 	{
654 687
 		$datLen = 0;
@@ -696,6 +729,10 @@  discard block
 block discarded – undo
696 729
 
697 730
 	///////////////////////////////////////////////////////////////////////////
698 731
 
732
+	/**
733
+	 * @param string $data
734
+	 * @param integer $extLen
735
+	 */
699 736
 	function skipExt(&$data, &$extLen)
700 737
 	{
701 738
 		$extLen = 0;
@@ -741,6 +778,9 @@  discard block
 block discarded – undo
741 778
 
742 779
 	///////////////////////////////////////////////////////////////////////////
743 780
 
781
+	/**
782
+	 * @param string $str
783
+	 */
744 784
 	function w2i($str)
745 785
 	{
746 786
 		return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -814,6 +854,9 @@  discard block
 block discarded – undo
814 854
 
815 855
 	///////////////////////////////////////////////////////////////////////////
816 856
 
857
+	/**
858
+	 * @param integer $iIndex
859
+	 */
817 860
 	function loadFile($lpszFileName, $iIndex)
818 861
 	{
819 862
 		if ($iIndex < 0) {
@@ -967,6 +1010,9 @@  discard block
 block discarded – undo
967 1010
 
968 1011
 	///////////////////////////////////////////////////////////////////////////
969 1012
 
1013
+	/**
1014
+	 * @param integer $bgColor
1015
+	 */
970 1016
 	function getPng($bgColor)
971 1017
 	{
972 1018
 		$out = '';
Please login to merge, or discard this patch.
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.