Completed
Push — master ( 247290...01d05f )
by Michael
08:30
created
upgrade/language.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
  * @global        array    the list of available translations
105 105
  * @global        string   the retained translation keyword
106 106
  * @access   private
107
- * @return int|string
107
+ * @return string
108 108
  */
109 109
 function xoops_analyzeLanguage($str = '', $envType = '')
110 110
 {
Please login to merge, or discard this patch.
upgrade/upd-2.0.17-to-2.0.18/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param $sql
42
+     * @param string $sql
43 43
      */
44 44
     public function query($sql)
45 45
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.18-to-2.3.0/index.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     }
234 234
 
235 235
     /**
236
-     * @param $task
236
+     * @param string $task
237 237
      *
238 238
      * @return bool
239 239
      */
@@ -253,10 +253,10 @@  discard block
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @param $charset
256
+     * @param string $charset
257 257
      * @param $collation
258 258
      *
259
-     * @return bool
259
+     * @return false|null
260 260
      */
261 261
     public function convert_db($charset, $collation)
262 262
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.18-to-2.3.0/pathcontroller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,11 +221,11 @@
 block discarded – undo
221 221
      * Write-enable the specified file/folder
222 222
      *
223 223
      * @param string      $path
224
-     * @param bool|string $group
224
+     * @param boolean $group
225 225
      * @param bool        $create
226 226
      *
227 227
      * @internal param bool $recurse
228
-     * @return false on failure, method (u-ser,g-roup,w-orld) on success
228
+     * @return false|string on failure, method (u-ser,g-roup,w-orld) on success
229 229
      */
230 230
     public function makeWritable($path, $group = false, $create = true)
231 231
     {
Please login to merge, or discard this patch.
upgrade/upd-2.3.3-to-2.4.0/index.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,8 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * *#@+
65 65
      * Xoops Write Licence System Key
66
+     * @param string $system_key
67
+     * @param string $licensefile
66 68
      */
67 69
     public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php')
68 70
     {
@@ -136,6 +138,7 @@  discard block
 block discarded – undo
136 138
     /**
137 139
      * *#@+
138 140
      * Xoops Stripe Licence System Key
141
+     * @param string $xoops_key
139 142
      */
140 143
     public function xoops_stripeKey($xoops_key)
141 144
     {
Please login to merge, or discard this patch.
upgrade/upd-2.4.0-to-2.4.1/index.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -70,6 +70,8 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * *#@+
72 72
      * Xoops Write Licence System Key
73
+     * @param string $public_key
74
+     * @param string $licensefile
73 75
      */
74 76
     public function xoops_upgradeLicenseKey($public_key, $licensefile, $license_file_dist = 'license.dist.php')
75 77
     {
@@ -94,6 +96,8 @@  discard block
 block discarded – undo
94 96
     /**
95 97
      * *#@+
96 98
      * Xoops Write Licence System Key
99
+     * @param string $system_key
100
+     * @param string $licensefile
97 101
      */
98 102
     public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php')
99 103
     {
@@ -209,6 +213,7 @@  discard block
 block discarded – undo
209 213
     /**
210 214
      * *#@+
211 215
      * Xoops Stripe Licence System Key
216
+     * @param string $xoops_key
212 217
      */
213 218
     public function xoops_stripeKey($xoops_key, $num = 6, $length = 30, $uu = 0)
214 219
     {
Please login to merge, or discard this patch.
upgrade/upd-2.5.4-to-2.5.5/index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Check imptotal
82 82
      *
83
-     * @return bool
83
+     * @return boolean|null
84 84
      */
85 85
     public function check_imptotal()
86 86
     {
Please login to merge, or discard this patch.
upgrade/upd-2.5.7-to-2.5.8/index.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use Xmf\Database\Tables;
4
-use Xmf\Key\Basic;
5
-use Xmf\Key\FileStorage;
6 4
 
7 5
 /**
8 6
  * Upgrade from 2.5.7 to 2.5.8
Please login to merge, or discard this patch.
htdocs/class/module.textsanitizer.php 1 patch
Doc Comments   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Access the only instance of this class
224 224
      *
225
-     * @return object
225
+     * @return MyTextSanitizer
226 226
      * @static
227 227
      * @staticvar object
228 228
      */
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      * Replace XoopsCodes with their equivalent HTML formatting
395 395
      *
396 396
      * @param  string   $text
397
-     * @param  bool|int $allowimage Allow images in the text?
397
+     * @param  integer $allowimage Allow images in the text?
398 398
      *                              On FALSE, uses links to images.
399 399
      * @return string
400 400
      */
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
      * A quick solution for filtering XSS scripts
481 481
      *
482 482
      * @TODO : To be improved
483
-     * @param $text
483
+     * @param string $text
484 484
      * @return mixed
485 485
      */
486 486
     public function filterXss($text)
@@ -576,11 +576,11 @@  discard block
 block discarded – undo
576 576
      * Filters textarea form data in DB for display
577 577
      *
578 578
      * @param  string   $text
579
-     * @param  bool|int $html   allow html?
580
-     * @param  bool|int $smiley allow smileys?
581
-     * @param  bool|int $xcode  allow xoopscode?
582
-     * @param  bool|int $image  allow inline images?
583
-     * @param  bool|int $br     convert linebreaks?
579
+     * @param  integer $html   allow html?
580
+     * @param  integer $smiley allow smileys?
581
+     * @param  integer $xcode  allow xoopscode?
582
+     * @param  integer $image  allow inline images?
583
+     * @param  integer $br     convert linebreaks?
584 584
      * @return string
585 585
      */
586 586
     public function &displayTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)
@@ -622,11 +622,11 @@  discard block
 block discarded – undo
622 622
      * Filters textarea form data submitted for preview
623 623
      *
624 624
      * @param  string   $text
625
-     * @param  bool|int $html   allow html?
626
-     * @param  bool|int $smiley allow smileys?
627
-     * @param  bool|int $xcode  allow xoopscode?
628
-     * @param  bool|int $image  allow inline images?
629
-     * @param  bool|int $br     convert linebreaks?
625
+     * @param  integer $html   allow html?
626
+     * @param  integer $smiley allow smileys?
627
+     * @param  integer $xcode  allow xoopscode?
628
+     * @param  integer $image  allow inline images?
629
+     * @param  integer $br     convert linebreaks?
630 630
      * @return string
631 631
      */
632 632
     public function &previewTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)
@@ -657,8 +657,8 @@  discard block
 block discarded – undo
657 657
     /**
658 658
      * MyTextSanitizer::codePreConv()
659 659
      *
660
-     * @param  mixed $text
661
-     * @param  mixed $xcode
660
+     * @param  string $text
661
+     * @param  integer $xcode
662 662
      * @return mixed
663 663
      */
664 664
     public function codePreConv($text, $xcode = 1)
@@ -694,8 +694,8 @@  discard block
 block discarded – undo
694 694
      * MyTextSanitizer::codeConv()
695 695
      *
696 696
      * @param  mixed $text
697
-     * @param  mixed $xcode
698
-     * @return mixed
697
+     * @param  integer $xcode
698
+     * @return string
699 699
      */
700 700
     public function codeConv($text, $xcode = 1)
701 701
     {
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
     /**
712 712
      * MyTextSanitizer::executeExtensions()
713 713
      *
714
-     * @return bool
714
+     * @return boolean|null
715 715
      */
716 716
     public function executeExtensions()
717 717
     {
@@ -795,8 +795,8 @@  discard block
 block discarded – undo
795 795
      * MyTextSanitizer::codeSanitizer()
796 796
      *
797 797
      * @param  mixed $str
798
-     * @param  mixed $image
799
-     * @return mixed|string
798
+     * @param  integer $image
799
+     * @return string
800 800
      */
801 801
     public function codeSanitizer($str, $image = 1)
802 802
     {
@@ -813,8 +813,8 @@  discard block
 block discarded – undo
813 813
      * @param  mixed   $text
814 814
      * @param  integer $allowhtml
815 815
      * @param  integer $smiley
816
-     * @param  mixed   $bbcode
817
-     * @return mixed|string
816
+     * @param  integer   $bbcode
817
+     * @return string
818 818
      */
819 819
     public function sanitizeForDisplay($text, $allowhtml = 0, $smiley = 1, $bbcode = 1)
820 820
     {
@@ -844,8 +844,8 @@  discard block
 block discarded – undo
844 844
      * @param  mixed   $text
845 845
      * @param  integer $allowhtml
846 846
      * @param  integer $smiley
847
-     * @param  mixed   $bbcode
848
-     * @return mixed|string
847
+     * @param  integer   $bbcode
848
+     * @return string
849 849
      */
850 850
     public function sanitizeForPreview($text, $allowhtml = 0, $smiley = 1, $bbcode = 1)
851 851
     {
@@ -888,8 +888,8 @@  discard block
 block discarded – undo
888 888
      * MyTextSanitizer::makeTboxData4Show()
889 889
      *
890 890
      * @param  mixed $text
891
-     * @param  mixed $smiley
892
-     * @return mixed|string
891
+     * @param  integer $smiley
892
+     * @return string
893 893
      */
894 894
     public function makeTboxData4Show($text, $smiley = 0)
895 895
     {
@@ -916,8 +916,8 @@  discard block
 block discarded – undo
916 916
      * MyTextSanitizer::makeTboxData4Preview()
917 917
      *
918 918
      * @param  mixed $text
919
-     * @param  mixed $smiley
920
-     * @return mixed|string
919
+     * @param  integer $smiley
920
+     * @return string
921 921
      */
922 922
     public function makeTboxData4Preview($text, $smiley = 0)
923 923
     {
@@ -961,8 +961,8 @@  discard block
 block discarded – undo
961 961
      * @param  mixed   $text
962 962
      * @param  integer $html
963 963
      * @param  integer $smiley
964
-     * @param  mixed   $xcode
965
-     * @return mixed|string
964
+     * @param  integer   $xcode
965
+     * @return string
966 966
      */
967 967
     public function &makeTareaData4Show(&$text, $html = 1, $smiley = 1, $xcode = 1)
968 968
     {
@@ -991,8 +991,8 @@  discard block
 block discarded – undo
991 991
      * @param  mixed   $text
992 992
      * @param  integer $html
993 993
      * @param  integer $smiley
994
-     * @param  mixed   $xcode
995
-     * @return mixed|string
994
+     * @param  integer   $xcode
995
+     * @return string
996 996
      */
997 997
     public function &makeTareaData4Preview(&$text, $html = 1, $smiley = 1, $xcode = 1)
998 998
     {
Please login to merge, or discard this patch.