Test Failed
Push — CI ( 0f01dd...c95a04 )
by Adam
55:13
created
include/SugarXHprof/xhprof_lib/display/xhprof.php 1 patch
Doc Comments   +14 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,6 +113,7 @@  discard block
 block discarded – undo
113 113
 /**
114 114
  * Implodes the text for a bunch of actions (such as links, forms,
115 115
  * into a HTML list and returns the text.
116
+ * @param string[] $actions
116 117
  */
117 118
 function xhprof_render_actions($actions) {
118 119
   $out = array();
@@ -142,8 +143,6 @@  discard block
 block discarded – undo
142 143
  * @param raw-str  $onmouseover
143 144
  * @param raw-str  $onmouseout
144 145
  * @param raw-str  $onmousedown
145
- * @param raw-str  $dir
146
- * @param raw-str  $rel
147 146
  */
148 147
 function xhprof_render_link($content, $href, $class='', $id='', $title='',
149 148
                             $target='',
@@ -589,6 +588,7 @@  discard block
 block discarded – undo
589 588
  * For instance, negative numbers in diff reports comparing two runs (run1 & run2)
590 589
  * represent improvement from run1 to run2. We use green to display those deltas,
591 590
  * and red for regression deltas.
591
+ * @param boolean $bold
592 592
  */
593 593
 function get_print_class($num, $bold) {
594 594
   global $vbar;
@@ -712,6 +712,7 @@  discard block
 block discarded – undo
712 712
  * Print non-hierarchical (flat-view) of profiler data.
713 713
  *
714 714
  * @author Kannan
715
+ * @param integer $limit
715 716
  */
716 717
 function print_flat_data($url_params, $title, $flat_data, $sort, $run1, $run2, $limit) {
717 718
 
@@ -778,6 +779,7 @@  discard block
 block discarded – undo
778 779
  * Generates a tabular report for all functions. This is the top-level report.
779 780
  *
780 781
  * @author Kannan
782
+ * @param integer $run2
781 783
  */
782 784
 function full_report($url_params, $symbol_tab, $sort, $run1, $run2) {
783 785
   global $vwbar;
@@ -922,6 +924,7 @@  discard block
 block discarded – undo
922 924
 
923 925
 /**
924 926
  * Return attribute names and values to be used by javascript tooltip.
927
+ * @param string $type
925 928
  */
926 929
 function get_tooltip_attributes($type, $metric) {
927 930
   return "type='$type' metric='$metric'";
@@ -960,6 +963,10 @@  discard block
 block discarded – undo
960 963
   }
961 964
 }
962 965
 
966
+/**
967
+ * @param boolean $parent
968
+ * @param integer $run2
969
+ */
963 970
 function print_pc_array($url_params, $results, $base_ct, $base_info, $parent,
964 971
                         $run1, $run2) {
965 972
   global $base_path;
@@ -1299,6 +1306,8 @@  discard block
 block discarded – undo
1299 1306
  * Generate the profiler report for a single run.
1300 1307
  *
1301 1308
  * @author Kannan
1309
+ * @param string $rep_symbol
1310
+ * @param string $run
1302 1311
  */
1303 1312
 function profiler_single_run_report ($url_params,
1304 1313
                                      $xhprof_data,
@@ -1319,6 +1328,9 @@  discard block
 block discarded – undo
1319 1328
  * Generate the profiler report for diff mode (delta between two runs).
1320 1329
  *
1321 1330
  * @author Kannan
1331
+ * @param string $rep_symbol
1332
+ * @param string $run1
1333
+ * @param string $run2
1322 1334
  */
1323 1335
 function profiler_diff_report($url_params,
1324 1336
                               $xhprof_data1,
Please login to merge, or discard this patch.
include/SugarXHprof/xhprof_lib/utils/callgraph_utils.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,8 @@  discard block
 block discarded – undo
38 38
  *
39 39
  * @param string  HTTP header name, like 'Location'
40 40
  * @param string  HTTP header value, like 'http://www.example.com/'
41
+ * @param string $name
42
+ * @param string $value
41 43
  *
42 44
  */
43 45
 function xhprof_http_header($name, $value) {
@@ -58,6 +60,7 @@  discard block
 block discarded – undo
58 60
  * Genearte and send MIME header for the output image to client browser.
59 61
  *
60 62
  * @author cjiang
63
+ * @param integer $length
61 64
  */
62 65
 function xhprof_generate_mime_header($type, $length) {
63 66
   switch ($type) {
@@ -93,6 +96,7 @@  discard block
 block discarded – undo
93 96
  * @param dot_script, string, the script for DOT to generate the image.
94 97
  * @param type, one of the supported image types, see
95 98
  * $xhprof_legal_image_types.
99
+ * @param string $dot_script
96 100
  * @returns, binary content of the generated image on success. empty string on
97 101
  *           failure.
98 102
  *
Please login to merge, or discard this patch.
include/SugarXHprof/xhprof_lib/utils/xhprof_lib.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -706,6 +706,7 @@  discard block
 block discarded – undo
706 706
  * Set one key in an array and return the array
707 707
  *
708 708
  * @author Kannan
709
+ * @param string $k
709 710
  */
710 711
 function xhprof_array_set($arr, $k, $v) {
711 712
   $arr[$k] = $v;
@@ -716,6 +717,7 @@  discard block
 block discarded – undo
716 717
  * Removes/unsets one key in an array and return the array
717 718
  *
718 719
  * @author Kannan
720
+ * @param string $k
719 721
  */
720 722
 function xhprof_array_unset($arr, $k) {
721 723
   unset($arr[$k]);
@@ -739,6 +741,7 @@  discard block
 block discarded – undo
739 741
  * @param string   name of the URL query string param
740 742
  *
741 743
  * @author Kannan
744
+ * @return string
742 745
  */
743 746
 function xhprof_get_param_helper($param) {
744 747
   $val = null;
Please login to merge, or discard this patch.
include/SugarXHprof/xhprof_lib/utils/xhprof_runs.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@  discard block
 block discarded – undo
85 85
     return $file;
86 86
   }
87 87
 
88
+  /**
89
+   * @param string $dir
90
+   */
88 91
   public function __construct($dir = null) {
89 92
 
90 93
     // if user hasn't passed a directory location,
@@ -123,6 +126,9 @@  discard block
 block discarded – undo
123 126
     return unserialize($contents);
124 127
   }
125 128
 
129
+  /**
130
+   * @param string $type
131
+   */
126 132
   public function save_run($xhprof_data, $type, $run_id = null) {
127 133
 
128 134
     // Use PHP serialize function to store the XHProf's
Please login to merge, or discard this patch.
include/tabs.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -48,6 +48,10 @@
 block discarded – undo
48 48
  var $tabs;
49 49
  var $current_key;
50 50
 
51
+ /**
52
+  * @param string $current_key
53
+  * @param string $jscallback
54
+  */
51 55
  function SugarWidgetTabs(&$tabs,$current_key,$jscallback)
52 56
  {
53 57
    $this->tabs = $tabs;
Please login to merge, or discard this patch.
include/tcpdf/barcodes.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
 	/**
347 347
 	 * Encode a string to be used for CODE 39 Extended mode.
348 348
 	 * @param string $code code to represent.
349
-	 * @return encoded string.
349
+	 * @return false|string string.
350 350
 	 * @access protected
351 351
 	 */
352 352
 	protected function encode_code39_ext($code) {
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
 	/**
398 398
 	 * Calculate CODE 39 checksum (modulo 43).
399 399
 	 * @param string $code code to represent.
400
-	 * @return char checksum.
400
+	 * @return string checksum.
401 401
 	 * @access protected
402 402
 	 */
403 403
 	protected function checksum_code39($code) {
@@ -420,7 +420,6 @@  discard block
 block discarded – undo
420 420
 	 * CODE 93 - USS-93
421 421
 	 * Compact code similar to Code 39
422 422
 	 * @param string $code code to represent.
423
-	 * @param boolean $checksum if true add a checksum to the code
424 423
 	 * @return array barcode representation.
425 424
 	 * @access protected
426 425
 	 */
@@ -1009,7 +1008,7 @@  discard block
 block discarded – undo
1009 1008
 	 * UPC-A: Universal product code seen on almost all retail products in the USA and Canada
1010 1009
 	 * UPC-E: Short version of UPC symbol
1011 1010
 	 * @param string $code code to represent.
1012
-	 * @param string $len barcode type: 6 = UPC-E, 8 = EAN8, 13 = EAN13, 12 = UPC-A
1011
+	 * @param integer $len barcode type: 6 = UPC-E, 8 = EAN8, 13 = EAN13, 12 = UPC-A
1013 1012
 	 * @return array barcode representation.
1014 1013
 	 * @access protected
1015 1014
 	 */
@@ -1202,7 +1201,7 @@  discard block
 block discarded – undo
1202 1201
 	 * 2-Digit Ext.: Used to indicate magazines and newspaper issue numbers
1203 1202
 	 * 5-Digit Ext.: Used to mark suggested retail price of books
1204 1203
 	 * @param string $code code to represent.
1205
-	 * @param string $len barcode type: 2 = 2-Digit, 5 = 5-Digit
1204
+	 * @param integer $len barcode type: 2 = 2-Digit, 5 = 5-Digit
1206 1205
 	 * @return array barcode representation.
1207 1206
 	 * @access protected
1208 1207
 	 */
Please login to merge, or discard this patch.
include/tcpdf/fonts/utils/makefont.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -347,6 +347,8 @@  discard block
 block discarded – undo
347 347
 
348 348
 /**
349 349
  * Read UFM file
350
+ * @param string $file
351
+ * @param string $cidtogidmap
350 352
  */
351 353
 function ReadUFM($file, &$cidtogidmap) {
352 354
 	//Prepare empty CIDToGIDMap
@@ -422,6 +424,7 @@  discard block
 block discarded – undo
422 424
 
423 425
 /**
424 426
  * Read AFM file
427
+ * @param string $file
425 428
  */
426 429
 function ReadAFM($file,&$map) {
427 430
 	//Read a font metric file
@@ -639,6 +642,10 @@  discard block
 block discarded – undo
639 642
 	return rtrim($s);
640 643
 }
641 644
 
645
+/**
646
+ * @param string $file
647
+ * @param string $s
648
+ */
642 649
 function SaveToFile($file, $s, $mode='t') {
643 650
 	$f = fopen($file, 'w'.$mode);
644 651
 	if(!$f) {
@@ -658,6 +665,9 @@  discard block
 block discarded – undo
658 665
 	return $a['N'];
659 666
 }
660 667
 
668
+/**
669
+ * @param string $file
670
+ */
661 671
 function CheckTTF($file) {
662 672
 	//Check if font license allows embedding
663 673
 	$f = fopen($file, 'rb');
Please login to merge, or discard this patch.
include/tcpdf/tcpdf.php 1 patch
Doc Comments   +59 added lines, -108 removed lines patch added patch discarded remove patch
@@ -1613,7 +1613,7 @@  discard block
 block discarded – undo
1613 1613
 		/**
1614 1614
 		* Set page orientation.
1615 1615
 		* @param string $orientation page orientation. Possible values are (case insensitive):<ul><li>P or PORTRAIT (default)</li><li>L or LANDSCAPE</li></ul>
1616
-		* @param boolean $autopagebreak Boolean indicating if auto-page-break mode should be on or off.
1616
+		* @param string|boolean $autopagebreak Boolean indicating if auto-page-break mode should be on or off.
1617 1617
 		* @param float $bottommargin bottom margin of the page.
1618 1618
 		* @access public
1619 1619
 		* @since 3.0.015 (2008-06-06)
@@ -1812,7 +1812,7 @@  discard block
 block discarded – undo
1812 1812
 		* Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.
1813 1813
 		* @param float $left Left margin.
1814 1814
 		* @param float $top Top margin.
1815
-		* @param float $right Right margin. Default value is the left one.
1815
+		* @param integer $right Right margin. Default value is the left one.
1816 1816
 		* @access public
1817 1817
 		* @since 1.0
1818 1818
 		* @see SetLeftMargin(), SetTopMargin(), SetRightMargin(), SetAutoPageBreak()
@@ -1885,7 +1885,7 @@  discard block
 block discarded – undo
1885 1885
 		/**
1886 1886
 		* Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
1887 1887
 		* @param boolean $auto Boolean indicating if mode should be on or off.
1888
-		* @param float $margin Distance from the bottom of the page.
1888
+		* @param integer $margin Distance from the bottom of the page.
1889 1889
 		* @access public
1890 1890
 		* @since 1.0
1891 1891
 		* @see Cell(), MultiCell(), AcceptPageBreak()
@@ -1899,7 +1899,7 @@  discard block
 block discarded – undo
1899 1899
 
1900 1900
 		/**
1901 1901
 		* Defines the way the document is to be displayed by the viewer.
1902
-		* @param mixed $zoom The zoom to use. It can be one of the following string values or a number indicating the zooming factor to use. <ul><li>fullpage: displays the entire page on screen </li><li>fullwidth: uses maximum width of window</li><li>real: uses real size (equivalent to 100% zoom)</li><li>default: uses viewer default mode</li></ul>
1902
+		* @param string $zoom The zoom to use. It can be one of the following string values or a number indicating the zooming factor to use. <ul><li>fullpage: displays the entire page on screen </li><li>fullwidth: uses maximum width of window</li><li>real: uses real size (equivalent to 100% zoom)</li><li>default: uses viewer default mode</li></ul>
1903 1903
 		* @param string $layout The page layout. Possible values are:<ul><li>SinglePage Display one page at a time</li><li>OneColumn Display the pages in one column</li><li>TwoColumnLeft Display the pages in two columns, with odd-numbered pages on the left</li><li>TwoColumnRight Display the pages in two columns, with odd-numbered pages on the right</li><li>TwoPageLeft (PDF 1.5) Display the pages two at a time, with odd-numbered pages on the left</li><li>TwoPageRight (PDF 1.5) Display the pages two at a time, with odd-numbered pages on the right</li></ul>
1904 1904
 		* @param string $mode A name object specifying how the document should be displayed when opened:<ul><li>UseNone Neither document outline nor thumbnail images visible</li><li>UseOutlines Document outline visible</li><li>UseThumbs Thumbnail images visible</li><li>FullScreen Full-screen mode, with no menu bar, window controls, or any other window visible</li><li>UseOC (PDF 1.5) Optional content group panel visible</li><li>UseAttachments (PDF 1.6) Attachments panel visible</li></ul>
1905 1905
 		* @access public
@@ -2283,7 +2283,7 @@  discard block
 block discarded – undo
2283 2283
 		/**
2284 2284
 	 	 * Set header data.
2285 2285
 		 * @param string $ln header image logo
2286
-		 * @param string $lw header image logo width in mm
2286
+		 * @param integer $lw header image logo width in mm
2287 2287
 		 * @param string $ht string to print as title on document header
2288 2288
 		 * @param string $hs string to print on document header
2289 2289
 		 * @access public
@@ -2361,7 +2361,7 @@  discard block
 block discarded – undo
2361 2361
 
2362 2362
 		/**
2363 2363
 	 	 * Set a flag to print page footer.
2364
-		 * @param boolean $value set to true to print the page footer (default), false otherwise.
2364
+		 * @param boolean $val set to true to print the page footer (default), false otherwise.
2365 2365
 		 * @access public
2366 2366
 		 */
2367 2367
 		public function setPrintFooter($val=true) {
@@ -2841,7 +2841,7 @@  discard block
 block discarded – undo
2841 2841
 		* @param string $s The string whose length is to be computed
2842 2842
 		* @param string $fontname Family font. It can be either a name defined by AddFont() or one of the standard families. It is also possible to pass an empty string, in that case, the current family is retained.
2843 2843
 		* @param string $fontstyle Font style. Possible values are (case insensitive):<ul><li>empty string: regular</li><li>B: bold</li><li>I: italic</li><li>U: underline</li><li>D: line trough</li></ul> or any combination. The default value is regular.
2844
-		* @param float $fontsize Font size in points. The default value is the current size.
2844
+		* @param integer $fontsize Font size in points. The default value is the current size.
2845 2845
 		* @return int string length
2846 2846
 		* @author Nicola Asuni
2847 2847
 		* @access public
@@ -2853,14 +2853,7 @@  discard block
 block discarded – undo
2853 2853
 
2854 2854
 		/**
2855 2855
 		* Returns the string length of an array of chars in user unit. A font must be selected.<br>
2856
-		* @param string $arr The array of chars whose total length is to be computed
2857
-		* @param string $fontname Family font. It can be either a name defined by AddFont() or one of the standard families. It is also possible to pass an empty string, in that case, the current family is retained.
2858
-		* @param string $fontstyle Font style. Possible values are (case insensitive):<ul><li>empty string: regular</li><li>B: bold</li><li>I: italic</li><li>U: underline</li><li>D: line trough</li></ul> or any combination. The default value is regular.
2859
-		* @param float $fontsize Font size in points. The default value is the current size.
2860
-		* @return int string length
2861
-		* @author Nicola Asuni
2862
-		* @access public
2863
-		* @since 2.4.000 (2008-03-06)
2856
+		* @param integer $fontsize
2864 2857
 		*/
2865 2858
 		public function GetArrStringWidth($sa, $fontname='', $fontstyle='', $fontsize=0) {
2866 2859
 			// store current values
@@ -3110,7 +3103,7 @@  discard block
 block discarded – undo
3110 3103
 		* Note: for the standard fonts, the font metric files must be accessible. There are three possibilities for this:<ul><li>They are in the current directory (the one where the running script lies)</li><li>They are in one of the directories defined by the include_path parameter</li><li>They are in the directory defined by the K_PATH_FONTS constant</li></ul><br />
3111 3104
 		* @param string $family Family font. It can be either a name defined by AddFont() or one of the standard Type1 families (case insensitive):<ul><li>times (Times-Roman)</li><li>timesb (Times-Bold)</li><li>timesi (Times-Italic)</li><li>timesbi (Times-BoldItalic)</li><li>helvetica (Helvetica)</li><li>helveticab (Helvetica-Bold)</li><li>helveticai (Helvetica-Oblique)</li><li>helveticabi (Helvetica-BoldOblique)</li><li>courier (Courier)</li><li>courierb (Courier-Bold)</li><li>courieri (Courier-Oblique)</li><li>courierbi (Courier-BoldOblique)</li><li>symbol (Symbol)</li><li>zapfdingbats (ZapfDingbats)</li></ul> It is also possible to pass an empty string. In that case, the current family is retained.
3112 3105
 		* @param string $style Font style. Possible values are (case insensitive):<ul><li>empty string: regular</li><li>B: bold</li><li>I: italic</li><li>U: underline</li><li>D: line trough</li></ul> or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats basic fonts or other fonts when not defined.
3113
-		* @param float $size Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12
3106
+		* @param integer $size Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12
3114 3107
 		* @param string $fontfile The font definition file. By default, the name is built from the family and style, in lower case with no spaces.
3115 3108
 		* @access public
3116 3109
 		* @since 1.0
@@ -3182,7 +3175,7 @@  discard block
 block discarded – undo
3182 3175
 		/**
3183 3176
 		* Defines the page and position a link points to.
3184 3177
 		* @param int $link The link identifier returned by AddLink()
3185
-		* @param float $y Ordinate of target position; -1 indicates the current position. The default value is 0 (top of page)
3178
+		* @param integer $y Ordinate of target position; -1 indicates the current position. The default value is 0 (top of page)
3186 3179
 		* @param int $page Number of target page; -1 indicates the current page. This is the default value
3187 3180
 		* @access public
3188 3181
 		* @since 1.5
@@ -3358,7 +3351,7 @@  discard block
 block discarded – undo
3358 3351
 
3359 3352
 		/**
3360 3353
 		* Add page if needed.
3361
-		* @param float $h Cell height. Default value: 0.
3354
+		* @param integer $h Cell height. Default value: 0.
3362 3355
 		* @param mixed $y starting y position, leave empty for current position.
3363 3356
 		* @return boolean true in case of page break, false otherwise.
3364 3357
 		* @since 3.2.000 (2008-07-01)
@@ -3396,9 +3389,9 @@  discard block
 block discarded – undo
3396 3389
 		* Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br />
3397 3390
 		* If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
3398 3391
 		* @param float $w Cell width. If 0, the cell extends up to the right margin.
3399
-		* @param float $h Cell height. Default value: 0.
3392
+		* @param integer $h Cell height. Default value: 0.
3400 3393
 		* @param string $txt String to print. Default value: empty string.
3401
-		* @param mixed $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3394
+		* @param integer $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3402 3395
 		* @param int $ln Indicates where the current position should go after the call. Possible values are:<ul><li>0: to the right (or left for RTL languages)</li><li>1: to the beginning of the next line</li><li>2: below</li></ul>
3403 3396
 		Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0.
3404 3397
 		* @param string $align Allows to center or align the text. Possible values are:<ul><li>L or empty string: left align (default value)</li><li>C: center</li><li>R: right align</li><li>J: justify</li></ul>
@@ -3449,9 +3442,9 @@  discard block
 block discarded – undo
3449 3442
 		* Returns the PDF string code to print a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.<br />
3450 3443
 		* If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
3451 3444
 		* @param float $w Cell width. If 0, the cell extends up to the right margin.
3452
-		* @param float $h Cell height. Default value: 0.
3445
+		* @param integer $h Cell height. Default value: 0.
3453 3446
 		* @param string $txt String to print. Default value: empty string.
3454
-		* @param mixed $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3447
+		* @param integer $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3455 3448
 		* @param int $ln Indicates where the current position should go after the call. Possible values are:<ul><li>0: to the right (or left for RTL languages)</li><li>1: to the beginning of the next line</li><li>2: below</li></ul>Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0.
3456 3449
 		* @param string $align Allows to center or align the text. Possible values are:<ul><li>L or empty string: left align (default value)</li><li>C: center</li><li>R: right align</li><li>J: justify</li></ul>
3457 3450
 		* @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
@@ -3681,7 +3674,7 @@  discard block
 block discarded – undo
3681 3674
 		* @param float $w Width of cells. If 0, they extend up to the right margin of the page.
3682 3675
 		* @param float $h Cell minimum height. The cell extends automatically if needed.
3683 3676
 		* @param string $txt String to print
3684
-		* @param mixed $border Indicates if borders must be drawn around the cell block. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3677
+		* @param integer $border Indicates if borders must be drawn around the cell block. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3685 3678
 		* @param string $align Allows to center or align the text. Possible values are:<ul><li>L or empty string: left align</li><li>C: center</li><li>R: right align</li><li>J: justification (default value when $ishtml=false)</li></ul>
3686 3679
 		* @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
3687 3680
 		* @param int $ln Indicates where the current position should go after the call. Possible values are:<ul><li>0: to the right</li><li>1: to the beginning of the next line [DEFAULT]</li><li>2: below</li></ul>
@@ -3691,7 +3684,7 @@  discard block
 block discarded – undo
3691 3684
 		* @param int $stretch stretch carachter mode: <ul><li>0 = disabled</li><li>1 = horizontal scaling only if necessary</li><li>2 = forced horizontal scaling</li><li>3 = character spacing only if necessary</li><li>4 = forced character spacing</li></ul>
3692 3685
 		* @param boolean $ishtml set to true if $txt is HTML content (default = false).
3693 3686
 		* @param boolean $autopadding if true, uses internal padding and automatically adjust it to account for line width.
3694
-		* @param float $maxh maximum height. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature. This feature works only when $ishtml=false.
3687
+		* @param integer $maxh maximum height. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature. This feature works only when $ishtml=false.
3695 3688
 		* @return int Return the number of cells or 1 for html mode.
3696 3689
 		* @access public
3697 3690
 		* @since 1.3
@@ -3852,7 +3845,7 @@  discard block
 block discarded – undo
3852 3845
 
3853 3846
 		/**
3854 3847
 		* Get the border mode accounting for multicell position (opens bottom side of multicell crossing pages)
3855
-		* @param mixed $border Indicates if borders must be drawn around the cell block. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3848
+		* @param integer $border Indicates if borders must be drawn around the cell block. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
3856 3849
 		* @param string multicell position: 'start', 'middle', 'end'
3857 3850
 		* @return border mode
3858 3851
 		* @access protected
@@ -3932,7 +3925,7 @@  discard block
 block discarded – undo
3932 3925
 		/**
3933 3926
 		* This method returns the estimated number of lines required to print the text.
3934 3927
 		* @param string $txt text to print
3935
-		* @param float $w width of cell. If 0, they extend up to the right margin of the page.
3928
+		* @param integer $w width of cell. If 0, they extend up to the right margin of the page.
3936 3929
 		* @return int Return the estimated number of lines.
3937 3930
 		* @access public
3938 3931
 		* @since 4.5.011
@@ -3975,8 +3968,8 @@  discard block
 block discarded – undo
3975 3968
 		* @param int $stretch stretch carachter mode: <ul><li>0 = disabled</li><li>1 = horizontal scaling only if necessary</li><li>2 = forced horizontal scaling</li><li>3 = character spacing only if necessary</li><li>4 = forced character spacing</li></ul>
3976 3969
 		* @param boolean $firstline if true prints only the first line and return the remaining string.
3977 3970
 		* @param boolean $firstblock if true the string is the starting of a line.
3978
-		* @param float $maxh maximum height. The remaining unprinted text will be returned. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature.
3979
-		* @return mixed Return the number of cells or the remaining string if $firstline = true.
3971
+		* @param integer $maxh maximum height. The remaining unprinted text will be returned. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature.
3972
+		* @return string Return the number of cells or the remaining string if $firstline = true.
3980 3973
 		* @access public
3981 3974
 		* @since 1.5
3982 3975
 		*/
@@ -4316,7 +4309,7 @@  discard block
 block discarded – undo
4316 4309
 		* @param string $strarr The input array of characters.
4317 4310
 		* @param int $start the starting element of $strarr.
4318 4311
 		* @param int $end first element that will not be returned.
4319
-		* @return Return part of a string
4312
+		* @return string part of a string
4320 4313
 		* @access public
4321 4314
 		*/
4322 4315
 		public function UTF8ArrSubString($strarr, $start='', $end='') {
@@ -4338,7 +4331,7 @@  discard block
 block discarded – undo
4338 4331
 		* @param string $uniarr The input array of characters.
4339 4332
 		* @param int $start the starting element of $strarr.
4340 4333
 		* @param int $end first element that will not be returned.
4341
-		* @return Return part of a string
4334
+		* @return string part of a string
4342 4335
 		* @access public
4343 4336
 		* @since 4.5.037 (2009-04-07)
4344 4337
 		*/
@@ -4370,7 +4363,7 @@  discard block
 block discarded – undo
4370 4363
 		/**
4371 4364
 		* Returns the unicode caracter specified by UTF-8 code
4372 4365
 		* @param int $c UTF-8 code
4373
-		* @return Returns the specified character.
4366
+		* @return string the specified character.
4374 4367
 		* @author Miguel Perez, Nicola Asuni
4375 4368
 		* @access public
4376 4369
 		* @since 2.3.000 (2008-03-05)
@@ -4409,8 +4402,8 @@  discard block
 block discarded – undo
4409 4402
 		* @param string $file Name of the file containing the image.
4410 4403
 		* @param float $x Abscissa of the upper-left corner.
4411 4404
 		* @param float $y Ordinate of the upper-left corner.
4412
-		* @param float $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
4413
-		* @param float $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
4405
+		* @param integer $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
4406
+		* @param integer $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
4414 4407
 		* @param string $type Image format. Possible values are (case insensitive): JPEG and PNG (whitout GD library) and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;. If not specified, the type is inferred from the file extension.
4415 4408
 		* @param mixed $link URL or identifier returned by AddLink().
4416 4409
 		* @param string $align Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul>
@@ -4419,7 +4412,7 @@  discard block
 block discarded – undo
4419 4412
 		* @param string $palign Allows to center or align the image on the current line. Possible values are:<ul><li>L : left align</li><li>C : center</li><li>R : right align</li><li>'' : empty string : left for LTR or right for RTL</li></ul>
4420 4413
 		* @param boolean $ismask true if this image is a mask, false otherwise
4421 4414
 		* @param mixed $imgmask image object returned by this function or false
4422
-		* @param mixed $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
4415
+		* @param integer $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
4423 4416
 		* @param boolean $fitbox If true scale image dimensions proportionally to fit within the ($w, $h) box.
4424 4417
 		* @return image information
4425 4418
 		* @access public
@@ -4667,10 +4660,6 @@  discard block
 block discarded – undo
4667 4660
 		/**
4668 4661
 		* Convert the loaded php image to a JPEG and then return a structure for the PDF creator.
4669 4662
 		* This function requires GD library and write access to the directory defined on K_PATH_CACHE constant.
4670
-		* @param string $file Image file name.
4671
-		* @param image $image Image object.
4672
-		* return image JPEG image object.
4673
-		* @access protected
4674 4663
 		*/
4675 4664
 		protected function _toJPEG($image) {
4676 4665
 			$tempname = tempnam(K_PATH_CACHE, 'jpg_');
@@ -4814,7 +4803,7 @@  discard block
 block discarded – undo
4814 4803
 		* Reads up to length  bytes from the file pointer referenced by handle. Reading stops as soon as one of the following conditions is met: length bytes have been read; EOF (end of file) is reached.
4815 4804
 		* @param resource $handle
4816 4805
 		* @param int $length
4817
-		* @return Returns the read string or FALSE in case of error.
4806
+		* @return false|string the read string or FALSE in case of error.
4818 4807
 		* @author Nicola Asuni
4819 4808
 		* @access protected
4820 4809
 		* @since 4.5.027 (2009-03-16)
@@ -4836,8 +4825,8 @@  discard block
 block discarded – undo
4836 4825
 		* @param string $file Name of the file containing the image.
4837 4826
 		* @param float $x Abscissa of the upper-left corner.
4838 4827
 		* @param float $y Ordinate of the upper-left corner.
4839
-		* @param float $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
4840
-		* @param float $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
4828
+		* @param integer $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
4829
+		* @param integer $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
4841 4830
 		* @param string $type Image format. Possible values are (case insensitive): JPEG and PNG (whitout GD library) and all images supported by GD: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM;. If not specified, the type is inferred from the file extension.
4842 4831
 		* @param mixed $link URL or identifier returned by AddLink().
4843 4832
 		* @param string $align Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul>
@@ -6994,8 +6983,8 @@  discard block
 block discarded – undo
6994 6983
 		 * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
6995 6984
 		 * @param boolean $firstline if true prints only the first line and return the remaining string.
6996 6985
 		 * @param array $color array of RGB text color
6997
-		 * @param string $style font style (U, D, B, I)
6998
-		 * @return the number of cells used or the remaining text if $firstline = true;
6986
+		 * @param integer $style font style (U, D, B, I)
6987
+		 * @return string number of cells used or the remaining text if $firstline = true;
6999 6988
 		 * @access public
7000 6989
 		 */
7001 6990
 		public function addHtmlLink($url, $name, $fill=0, $firstline=false, $color='', $style=-1) {
@@ -7408,7 +7397,7 @@  discard block
 block discarded – undo
7408 7397
 
7409 7398
 		/**
7410 7399
 		* Reflection against a straight line through point (x, y) with the gradient angle (angle).
7411
-		* @param float $angle gradient angle of the straight line. Default is 0 (horizontal line).
7400
+		* @param integer $angle gradient angle of the straight line. Default is 0 (horizontal line).
7412 7401
 		* @param int $x abscissa of the point. Default is current x position
7413 7402
 		* @param int $y ordinate of the point. Default is current y position
7414 7403
 		* @access public
@@ -7600,7 +7589,7 @@  discard block
 block discarded – undo
7600 7589
 
7601 7590
 		/**
7602 7591
 		* Returns the current the line width.
7603
-		* @return int Line width
7592
+		* @return double Line width
7604 7593
 		* @access public
7605 7594
 		* @since 2.1.000 (2008-01-07)
7606 7595
 		* @see Line(), SetLineWidth()
@@ -7990,7 +7979,7 @@  discard block
 block discarded – undo
7990 7979
 		* @param float $x0 Abscissa of center point.
7991 7980
 		* @param float $y0 Ordinate of center point.
7992 7981
 		* @param float $rx Horizontal radius.
7993
-		* @param float $ry Vertical radius (if ry = 0 then is a circle, see {@link Circle Circle}). Default value: 0.
7982
+		* @param integer $ry Vertical radius (if ry = 0 then is a circle, see {@link Circle Circle}). Default value: 0.
7994 7983
 		* @param float $angle: Angle oriented (anti-clockwise). Default value: 0.
7995 7984
 		* @param float $astart: Angle start of draw line. Default value: 0.
7996 7985
 		* @param float $afinish: Angle finish of draw line. Default value: 360.
@@ -8205,37 +8194,7 @@  discard block
 block discarded – undo
8205 8194
 		* Draws a regular polygon.
8206 8195
 		* @param float $x0 Abscissa of center point.
8207 8196
 		* @param float $y0 Ordinate of center point.
8208
-		* @param float $r: Radius of inscribed circle.
8209
-		* @param integer $ns Number of sides.
8210
-		* @param float $angle Angle oriented (anti-clockwise). Default value: 0.
8211
-		* @param boolean $draw_circle Draw inscribed circle or not. Default value: false.
8212
-		* @param string $style Style of rendering. Possible values are:
8213
-		* <ul>
8214
-		*	 <li>D or empty string: Draw (default).</li>
8215
-		*	 <li>F: Fill.</li>
8216
-		*	 <li>DF or FD: Draw and fill.</li>
8217
-		*	 <li>CNZ: Clipping mode (using the even-odd rule to determine which regions lie inside the clipping path).</li>
8218
-		*	 <li>CEO: Clipping mode (using the nonzero winding number rule to determine which regions lie inside the clipping path).</li>
8219
-		* </ul>
8220
-		* @param array $line_style Line style of polygon sides. Array with keys among the following:
8221
-		* <ul>
8222
-		*	 <li>all: Line style of all sides. Array like for {@link SetLineStyle SetLineStyle}.</li>
8223
-		*	 <li>0 to ($ns - 1): Line style of each side. Array like for {@link SetLineStyle SetLineStyle}.</li>
8224
-		* </ul>
8225
-		* If a key is not present or is null, not draws the side. Default value is default line style (empty array).
8226
-		* @param array $fill_color Fill color. Format: array(red, green, blue). Default value: default color (empty array).
8227
-		* @param string $circle_style Style of rendering of inscribed circle (if draws). Possible values are:
8228
-		* <ul>
8229
-		*	 <li>D or empty string: Draw (default).</li>
8230
-		*	 <li>F: Fill.</li>
8231
-		*	 <li>DF or FD: Draw and fill.</li>
8232
-		*	 <li>CNZ: Clipping mode (using the even-odd rule to determine which regions lie inside the clipping path).</li>
8233
-		*	 <li>CEO: Clipping mode (using the nonzero winding number rule to determine which regions lie inside the clipping path).</li>
8234
-		* </ul>
8235
-		* @param array $circle_outLine_style Line style of inscribed circle (if draws). Array like for {@link SetLineStyle SetLineStyle}. Default value: default line style (empty array).
8236
-		* @param array $circle_fill_color Fill color of inscribed circle (if draws). Format: array(red, green, blue). Default value: default color (empty array).
8237
-		* @access public
8238
-		* @since 2.1.000 (2008-01-08)
8197
+		* @param integer $angle
8239 8198
 		*/
8240 8199
 		public function RegularPolygon($x0, $y0, $r, $ns, $angle=0, $draw_circle=false, $style='', $line_style=array(), $fill_color=array(), $circle_style='', $circle_outLine_style=array(), $circle_fill_color=array()) {
8241 8200
 			if (3 > $ns) {
@@ -9854,8 +9813,8 @@  discard block
 block discarded – undo
9854 9813
 		* @param array $col3 third color (upper right corner) (RGB components).
9855 9814
 		* @param array $col4 fourth color (upper left corner) (RGB components).
9856 9815
 		* @param array $coords <ul><li>for one patch mesh: array(float x1, float y1, .... float x12, float y12): 12 pairs of coordinates (normally from 0 to 1) which specify the Bezier control points that define the patch. First pair is the lower left edge point, next is its right control point (control point 2). Then the other points are defined in the order: control point 1, edge point, control point 2 going counter-clockwise around the patch. Last (x12, y12) is the first edge point's left control point (control point 1).</li><li>for two or more patch meshes: array[number of patches]: arrays with the following keys for each patch: f: where to put that patch (0 = first patch, 1, 2, 3 = right, top and left of precedent patch - I didn't figure this out completely - just try and error ;-) points: 12 pairs of coordinates of the Bezier control points as above for the first patch, 8 pairs of coordinates for the following patches, ignoring the coordinates already defined by the precedent patch (I also didn't figure out the order of these - also: try and see what's happening) colors: must be 4 colors for the first patch, 2 colors for the following patches</li></ul>
9857
-		* @param array $coords_min minimum value used by the coordinates. If a coordinate's value is smaller than this it will be cut to coords_min. default: 0
9858
-		* @param array $coords_max maximum value used by the coordinates. If a coordinate's value is greater than this it will be cut to coords_max. default: 1
9816
+		* @param integer $coords_min minimum value used by the coordinates. If a coordinate's value is smaller than this it will be cut to coords_min. default: 0
9817
+		* @param integer $coords_max maximum value used by the coordinates. If a coordinate's value is greater than this it will be cut to coords_max. default: 1
9859 9818
 		* @author Andreas W�rmser, Nicola Asuni
9860 9819
 		* @since 3.1.000 (2008-06-09)
9861 9820
 		* @access public
@@ -10036,6 +9995,12 @@  discard block
 block discarded – undo
10036 9995
 		* @author Maxime Delorme, Nicola Asuni
10037 9996
 		* @since 3.1.000 (2008-06-09)
10038 9997
 		* @access protected
9998
+		* @param double $x1
9999
+		* @param double $y1
10000
+		* @param double $x2
10001
+		* @param double $y2
10002
+		* @param double $x3
10003
+		* @param double $y3
10039 10004
 		*/
10040 10005
 		protected function _outarc($x1, $y1, $x2, $y2, $x3, $y3 ) {
10041 10006
 			$h = $this->h;
@@ -10052,10 +10017,6 @@  discard block
 block discarded – undo
10052 10017
 		* @param float $b end angle (in degrees).
10053 10018
 		* @param string $style: D, F, FD or DF (draw, fill, fill and draw). Default: FD.
10054 10019
 		* @param float $cw: indicates whether to go clockwise (default: true).
10055
-		* @param float $o: origin of angles (0 for 3 o'clock, 90 for noon, 180 for 9 o'clock, 270 for 6 o'clock). Default: 90.
10056
-		* @author Maxime Delorme, Nicola Asuni
10057
-		* @since 3.1.000 (2008-06-09)
10058
-		* @access public
10059 10020
 		*/
10060 10021
 		public function PieSector($xc, $yc, $r, $a, $b, $style='FD', $cw=true, $o=90) {
10061 10022
 			if ($this->rtl) {
@@ -10124,13 +10085,13 @@  discard block
 block discarded – undo
10124 10085
 		* @param string $file Name of the file containing the image.
10125 10086
 		* @param float $x Abscissa of the upper-left corner.
10126 10087
 		* @param float $y Ordinate of the upper-left corner.
10127
-		* @param float $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
10128
-		* @param float $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
10088
+		* @param integer $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
10089
+		* @param integer $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
10129 10090
 		* @param mixed $link URL or identifier returned by AddLink().
10130 10091
 		* @param boolean useBoundingBox specifies whether to position the bounding box (true) or the complete canvas (false) at location (x,y). Default value is true.
10131 10092
 		* @param string $align Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:<ul><li>T: top-right for LTR or top-left for RTL</li><li>M: middle-right for LTR or middle-left for RTL</li><li>B: bottom-right for LTR or bottom-left for RTL</li><li>N: next line</li></ul>
10132 10093
 		* @param string $palign Allows to center or align the image on the current line. Possible values are:<ul><li>L : left align</li><li>C : center</li><li>R : right align</li><li>'' : empty string : left for LTR or right for RTL</li></ul>
10133
-		* @param mixed $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
10094
+		* @param integer $border Indicates if borders must be drawn around the image. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
10134 10095
 		* @author Valentin Schmidt, Nicola Asuni
10135 10096
 		* @since 3.1.000 (2008-06-09)
10136 10097
 		* @access public
@@ -10904,7 +10865,7 @@  discard block
 block discarded – undo
10904 10865
 		 * @param float $x upper-left corner X coordinate
10905 10866
 		 * @param float $y upper-left corner Y coordinate
10906 10867
 		 * @param string $html html text to print. Default value: empty string.
10907
-		 * @param mixed $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
10868
+		 * @param integer $border Indicates if borders must be drawn around the cell. The value can be either a number:<ul><li>0: no border (default)</li><li>1: frame</li></ul>or a string containing some or all of the following characters (in any order):<ul><li>L: left</li><li>T: top</li><li>R: right</li><li>B: bottom</li></ul>
10908 10869
 		 * @param int $ln Indicates where the current position should go after the call. Possible values are:<ul><li>0: to the right (or left for RTL language)</li><li>1: to the beginning of the next line</li><li>2: below</li></ul>
10909 10870
 	Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0.
10910 10871
 		 * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
@@ -12861,8 +12822,8 @@  discard block
 block discarded – undo
12861 12822
 		/**
12862 12823
 		* Set the booklet mode for double-sided pages.
12863 12824
 		* @param boolean $booklet true set the booklet mode on, fals eotherwise.
12864
-		* @param float $inner Inner page margin.
12865
-		* @param float $outer Outer page margin.
12825
+		* @param integer $inner Inner page margin.
12826
+		* @param integer $outer Outer page margin.
12866 12827
 		* @access public
12867 12828
 		* @since 4.2.000 (2008-10-29)
12868 12829
 		*/
@@ -12945,9 +12906,9 @@  discard block
 block discarded – undo
12945 12906
         /**
12946 12907
 		* convert html string containing value and unit of measure to user's units or points.
12947 12908
 		* @param string $htmlval string containing values and unit
12948
-		* @param string $refsize reference value in points
12909
+		* @param integer $refsize reference value in points
12949 12910
 		* @param string $defaultunit default unit (can be one of the following: %, em, ex, px, in, mm, pc, pt).
12950
-		* @param boolean $point if true returns points, otherwise returns value in user's units
12911
+		* @param boolean $points if true returns points, otherwise returns value in user's units
12951 12912
 		* @return float value in user's unit or point if $points=true
12952 12913
 		* @access public
12953 12914
 		* @since 4.4.004 (2008-12-10)
@@ -13087,7 +13048,7 @@  discard block
 block discarded – undo
13087 13048
 		* Output an HTML list bullet or ordered item symbol
13088 13049
 		* @param int $listdepth list nesting level
13089 13050
 		* @param string $listtype type of list
13090
-		* @param float $size current font size
13051
+		* @param integer $size current font size
13091 13052
 		* @access protected
13092 13053
 		* @since 4.4.004 (2008-12-10)
13093 13054
 		*/
@@ -13292,10 +13253,7 @@  discard block
 block discarded – undo
13292 13253
 
13293 13254
 		/**
13294 13255
 		* Returns a temporary filename for caching object on filesystem.
13295
-		* @param string $prefix prefix to add to filename
13296
-		* return string filename.
13297
-		* @access protected
13298
-		* @since 4.5.000 (2008-12-31)
13256
+		* @param string $name
13299 13257
 		*/
13300 13258
 		protected function getObjFilename($name) {
13301 13259
 			return tempnam(K_PATH_CACHE, $name.'_');
@@ -13303,11 +13261,7 @@  discard block
 block discarded – undo
13303 13261
 
13304 13262
         /**
13305 13263
 		* Writes data to a temporary file on filesystem.
13306
-		* @param string $file file name
13307
-		* @param mixed $data data to write on file
13308
-		* @param boolean $append if true append data, false replace.
13309
-		* @access protected
13310
-		* @since 4.5.000 (2008-12-31)
13264
+		* @param string $data
13311 13265
 		*/
13312 13266
 		protected function writeDiskCache($filename, $data, $append=false) {
13313 13267
 			if ($append) {
@@ -13332,10 +13286,7 @@  discard block
 block discarded – undo
13332 13286
 
13333 13287
         /**
13334 13288
 		* Read data from a temporary file on filesystem.
13335
-		* @param string $file file name
13336
-		* @return mixed retrieved data
13337
-		* @access protected
13338
-		* @since 4.5.000 (2008-12-31)
13289
+		* @return string
13339 13290
 		*/
13340 13291
 		protected function readDiskCache($filename) {
13341 13292
 			return file_get_contents($filename);
@@ -13538,7 +13489,7 @@  discard block
 block discarded – undo
13538 13489
 		* Move a page to a previous position.
13539 13490
 		* @param int $frompage number of the source page
13540 13491
 		* @param int $topage number of the destination page (must be less than $frompage)
13541
-		* @return true in case of success, false in case of error.
13492
+		* @return boolean in case of success, false in case of error.
13542 13493
 		* @access public
13543 13494
 		* @since 4.5.000 (2009-01-02)
13544 13495
 		*/
@@ -13675,7 +13626,7 @@  discard block
 block discarded – undo
13675 13626
         /**
13676 13627
 		* Remove the specified page.
13677 13628
 		* @param int $page page to remove
13678
-		* @return true in case of success, false in case of error.
13629
+		* @return boolean in case of success, false in case of error.
13679 13630
 		* @access public
13680 13631
 		* @since 4.6.004 (2009-04-23)
13681 13632
 		*/
@@ -14007,7 +13958,7 @@  discard block
 block discarded – undo
14007 13958
 
14008 13959
 		/**
14009 13960
 		* Creates a copy of a class object
14010
-		* @param object $object class object to be cloned
13961
+		* @param TCPDF $object class object to be cloned
14011 13962
 		* @return cloned object
14012 13963
 		* @access public
14013 13964
 		* @since 4.5.029 (2009-03-19)
Please login to merge, or discard this patch.
include/TemplateHandler/TemplateHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
      * This function creates the $sqs_objects array that will be used by the quicksearch Javascript
311 311
      * code.  The $sqs_objects array is wrapped in a $json->encode call.
312 312
      *
313
-     * @param array $def The vardefs.php definitions
313
+     * @param array $defs The vardefs.php definitions
314 314
      * @param array $defs2 The Meta-Data file definitions
315 315
      * @param string $view
316 316
      * @param strign $module
Please login to merge, or discard this patch.