Completed
Push — master ( 2b2ff7...455d4b )
by Michael
11:08
created
htdocs/class/mail/phpmailer/class.smtp.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -959,7 +959,7 @@
 block discarded – undo
959 959
      * Send raw data to the server.
960 960
      * @param string $data The data to send
961 961
      * @access public
962
-     * @return integer|boolean The number of bytes sent to the server or false on error
962
+     * @return integer The number of bytes sent to the server or false on error
963 963
      */
964 964
     public function client_send($data)
965 965
     {
Please login to merge, or discard this patch.
htdocs/class/model/sync.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param  string $table_link   table of linked object for JOIN; deprecated, for backward compatibility
45 45
      * @param  string $field_link   field of linked object for JOIN; deprecated, for backward compatibility
46 46
      * @param  string $field_object field of current object for JOIN; deprecated, for backward compatibility
47
-     * @return bool   true on success
47
+     * @return null|boolean   true on success
48 48
      */
49 49
     public function cleanOrphan($table_link = '', $field_link = '', $field_object = '')
50 50
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * Synchronizing objects
85 85
      * @deprecated
86 86
      *
87
-     * @return bool true on success
87
+     * @return null|boolean true on success
88 88
      */
89 89
     public function synchronization()
90 90
     {
Please login to merge, or discard this patch.
htdocs/class/module.textsanitizer.php 1 patch
Doc Comments   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Constructor
37 37
      *
38
-     * @param unknown_type $ts
38
+     * @param MyTextSanitizer $ts
39 39
      */
40 40
     public function __construct(MyTextSanitizer $ts)
41 41
     {
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     /**
224 224
      * Access the only instance of this class
225 225
      *
226
-     * @return object
226
+     * @return MyTextSanitizer
227 227
      * @static
228 228
      * @staticvar object
229 229
      */
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      * Replace XoopsCodes with their equivalent HTML formatting
396 396
      *
397 397
      * @param  string   $text
398
-     * @param  bool|int $allowimage Allow images in the text?
398
+     * @param  integer $allowimage Allow images in the text?
399 399
      *                              On FALSE, uses links to images.
400 400
      * @return string
401 401
      */
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
      * A quick solution for filtering XSS scripts
482 482
      *
483 483
      * @TODO : To be improved
484
-     * @param $text
484
+     * @param string $text
485 485
      * @return mixed
486 486
      */
487 487
     public function filterXss($text)
@@ -577,11 +577,11 @@  discard block
 block discarded – undo
577 577
      * Filters textarea form data in DB for display
578 578
      *
579 579
      * @param  string   $text
580
-     * @param  bool|int $html   allow html?
581
-     * @param  bool|int $smiley allow smileys?
582
-     * @param  bool|int $xcode  allow xoopscode?
583
-     * @param  bool|int $image  allow inline images?
584
-     * @param  bool|int $br     convert linebreaks?
580
+     * @param  integer $html   allow html?
581
+     * @param  integer $smiley allow smileys?
582
+     * @param  integer $xcode  allow xoopscode?
583
+     * @param  integer $image  allow inline images?
584
+     * @param  integer $br     convert linebreaks?
585 585
      * @return string
586 586
      */
587 587
     public function &displayTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)
@@ -623,11 +623,11 @@  discard block
 block discarded – undo
623 623
      * Filters textarea form data submitted for preview
624 624
      *
625 625
      * @param  string   $text
626
-     * @param  bool|int $html   allow html?
627
-     * @param  bool|int $smiley allow smileys?
628
-     * @param  bool|int $xcode  allow xoopscode?
629
-     * @param  bool|int $image  allow inline images?
630
-     * @param  bool|int $br     convert linebreaks?
626
+     * @param  integer $html   allow html?
627
+     * @param  integer $smiley allow smileys?
628
+     * @param  integer $xcode  allow xoopscode?
629
+     * @param  integer $image  allow inline images?
630
+     * @param  integer $br     convert linebreaks?
631 631
      * @return string
632 632
      */
633 633
     public function &previewTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1)
@@ -658,8 +658,8 @@  discard block
 block discarded – undo
658 658
     /**
659 659
      * MyTextSanitizer::codePreConv()
660 660
      *
661
-     * @param  mixed $text
662
-     * @param  mixed $xcode
661
+     * @param  string $text
662
+     * @param  integer $xcode
663 663
      * @return mixed
664 664
      */
665 665
     public function codePreConv($text, $xcode = 1)
@@ -695,8 +695,8 @@  discard block
 block discarded – undo
695 695
      * MyTextSanitizer::codeConv()
696 696
      *
697 697
      * @param  mixed $text
698
-     * @param  mixed $xcode
699
-     * @return mixed
698
+     * @param  integer $xcode
699
+     * @return string
700 700
      */
701 701
     public function codeConv($text, $xcode = 1)
702 702
     {
@@ -712,7 +712,7 @@  discard block
 block discarded – undo
712 712
     /**
713 713
      * MyTextSanitizer::executeExtensions()
714 714
      *
715
-     * @return bool
715
+     * @return boolean|null
716 716
      */
717 717
     public function executeExtensions()
718 718
     {
@@ -796,8 +796,8 @@  discard block
 block discarded – undo
796 796
      * MyTextSanitizer::codeSanitizer()
797 797
      *
798 798
      * @param  mixed $str
799
-     * @param  mixed $image
800
-     * @return mixed|string
799
+     * @param  integer $image
800
+     * @return string
801 801
      */
802 802
     public function codeSanitizer($str, $image = 1)
803 803
     {
@@ -814,8 +814,8 @@  discard block
 block discarded – undo
814 814
      * @param  mixed   $text
815 815
      * @param  integer $allowhtml
816 816
      * @param  integer $smiley
817
-     * @param  mixed   $bbcode
818
-     * @return mixed|string
817
+     * @param  integer   $bbcode
818
+     * @return string
819 819
      */
820 820
     public function sanitizeForDisplay($text, $allowhtml = 0, $smiley = 1, $bbcode = 1)
821 821
     {
@@ -845,8 +845,8 @@  discard block
 block discarded – undo
845 845
      * @param  mixed   $text
846 846
      * @param  integer $allowhtml
847 847
      * @param  integer $smiley
848
-     * @param  mixed   $bbcode
849
-     * @return mixed|string
848
+     * @param  integer   $bbcode
849
+     * @return string
850 850
      */
851 851
     public function sanitizeForPreview($text, $allowhtml = 0, $smiley = 1, $bbcode = 1)
852 852
     {
@@ -889,8 +889,8 @@  discard block
 block discarded – undo
889 889
      * MyTextSanitizer::makeTboxData4Show()
890 890
      *
891 891
      * @param  mixed $text
892
-     * @param  mixed $smiley
893
-     * @return mixed|string
892
+     * @param  integer $smiley
893
+     * @return string
894 894
      */
895 895
     public function makeTboxData4Show($text, $smiley = 0)
896 896
     {
@@ -917,8 +917,8 @@  discard block
 block discarded – undo
917 917
      * MyTextSanitizer::makeTboxData4Preview()
918 918
      *
919 919
      * @param  mixed $text
920
-     * @param  mixed $smiley
921
-     * @return mixed|string
920
+     * @param  integer $smiley
921
+     * @return string
922 922
      */
923 923
     public function makeTboxData4Preview($text, $smiley = 0)
924 924
     {
@@ -962,8 +962,8 @@  discard block
 block discarded – undo
962 962
      * @param  mixed   $text
963 963
      * @param  integer $html
964 964
      * @param  integer $smiley
965
-     * @param  mixed   $xcode
966
-     * @return mixed|string
965
+     * @param  integer   $xcode
966
+     * @return string
967 967
      */
968 968
     public function &makeTareaData4Show(&$text, $html = 1, $smiley = 1, $xcode = 1)
969 969
     {
@@ -992,8 +992,8 @@  discard block
 block discarded – undo
992 992
      * @param  mixed   $text
993 993
      * @param  integer $html
994 994
      * @param  integer $smiley
995
-     * @param  mixed   $xcode
996
-     * @return mixed|string
995
+     * @param  integer   $xcode
996
+     * @return string
997 997
      */
998 998
     public function &makeTareaData4Preview(&$text, $html = 1, $smiley = 1, $xcode = 1)
999 999
     {
Please login to merge, or discard this patch.
htdocs/class/smarty/Config_File.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * Get all global or section variable names.
190 190
      *
191 191
      * @param string $file_name config file to get info for
192
-     * @param string $section_name (optional) section to get info for
192
+     * @param string $section (optional) section to get info for
193 193
      * @return array an array of variables names from the specified file/section
194 194
      */
195 195
     function get_var_names($file_name, $section = NULL)
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
     /**
346 346
      * @param array &$container
347 347
      * @param string $var_name
348
-     * @param mixed $var_value
348
+     * @param string $var_value
349 349
      * @param boolean $booleanize determines whether $var_value is converted to
350 350
      *                            to true/false
351 351
      */
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.assemble_plugin_filepath.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
 /**
9 9
  * assemble filepath of requested plugin
10 10
  *
11
- * @param string $type
12
- * @param string $name
11
+ * @param Smarty $smarty
13 12
  * @return string|false
14 13
  */
15 14
 function smarty_core_assemble_plugin_filepath($params, &$smarty)
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.get_php_resource.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,6 @@
 block discarded – undo
9 9
  * Retrieves PHP script resource
10 10
  *
11 11
  * sets $php_resource to the returned resource
12
- * @param string $resource
13
- * @param string $resource_type
14 12
  * @param  $php_resource
15 13
  * @return boolean
16 14
  */
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.process_cached_inserts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 /**
9 9
  * Replace cached inserts with the actual results
10 10
  *
11
- * @param string $results
11
+ * @param Smarty $smarty
12 12
  * @return string
13 13
  */
14 14
 function smarty_core_process_cached_inserts($params, &$smarty)
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.process_compiled_include.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@
 block discarded – undo
9 9
  * Replace nocache-tags by results of the corresponding non-cacheable
10 10
  * functions and return it
11 11
  *
12
- * @param string $compiled_tpl
13
- * @param string $cached_source
12
+ * @param Smarty $smarty
14 13
  * @return string
15 14
  */
16 15
 
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.run_insert_handler.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 /**
9 9
  * Handle insert tags
10 10
  *
11
- * @param array $args
12 11
  * @return string
13 12
  */
14 13
 function smarty_core_run_insert_handler($params, &$smarty)
Please login to merge, or discard this patch.