@@ -236,10 +236,12 @@ discard block |
||
236 | 236 | * @param int &$str_unique Total number of unique strings |
237 | 237 | * @param array &$str_table String Table |
238 | 238 | * @param array &$colors Colour Table |
239 | - * @param mixed $parser The formula parser created for the Workbook |
|
239 | + * @param Parser $parser The formula parser created for the Workbook |
|
240 | 240 | * @param bool $preCalculateFormulas Flag indicating whether formulas should be calculated or just written |
241 | 241 | * @param string $phpSheet The worksheet to write |
242 | 242 | * @param Worksheet $phpSheet |
243 | + * @param integer $str_total |
|
244 | + * @param integer $str_unique |
|
243 | 245 | */ |
244 | 246 | public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet) |
245 | 247 | { |
@@ -636,7 +638,7 @@ discard block |
||
636 | 638 | * @param int $row Zero indexed row |
637 | 639 | * @param int $col Zero indexed column |
638 | 640 | * @param float $num The number to write |
639 | - * @param mixed $xfIndex The optional XF format |
|
641 | + * @param integer $xfIndex The optional XF format |
|
640 | 642 | * |
641 | 643 | * @return int |
642 | 644 | */ |
@@ -745,7 +747,7 @@ discard block |
||
745 | 747 | * @param int $row Zero indexed row |
746 | 748 | * @param int $col Zero indexed column |
747 | 749 | * @param string $str The string to write |
748 | - * @param mixed $xfIndex The XF format index for the cell |
|
750 | + * @param integer $xfIndex The XF format index for the cell |
|
749 | 751 | * |
750 | 752 | * @return int |
751 | 753 | */ |
@@ -812,7 +814,7 @@ discard block |
||
812 | 814 | * |
813 | 815 | * @param int $row Zero indexed row |
814 | 816 | * @param int $col Zero indexed column |
815 | - * @param mixed $xfIndex The XF format index |
|
817 | + * @param integer $xfIndex The XF format index |
|
816 | 818 | */ |
817 | 819 | public function writeBlank($row, $col, $xfIndex) |
818 | 820 | { |
@@ -859,7 +861,7 @@ discard block |
||
859 | 861 | * @param int $row Zero indexed row |
860 | 862 | * @param int $col Zero indexed column |
861 | 863 | * @param string $formula The formula text string |
862 | - * @param mixed $xfIndex The XF format index |
|
864 | + * @param integer $xfIndex The XF format index |
|
863 | 865 | * @param mixed $calculatedValue Calculated value |
864 | 866 | * |
865 | 867 | * @return int |
@@ -2339,8 +2341,8 @@ discard block |
||
2339 | 2341 | * @param mixed $bitmap The bitmap filename or GD-image resource |
2340 | 2342 | * @param int $x the horizontal position (offset) of the image inside the cell |
2341 | 2343 | * @param int $y the vertical position (offset) of the image inside the cell |
2342 | - * @param float $scale_x The horizontal scale |
|
2343 | - * @param float $scale_y The vertical scale |
|
2344 | + * @param integer $scale_x The horizontal scale |
|
2345 | + * @param integer $scale_y The vertical scale |
|
2344 | 2346 | */ |
2345 | 2347 | public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) |
2346 | 2348 | { |
@@ -1068,7 +1068,6 @@ |
||
1068 | 1068 | * @param \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter XML Writer |
1069 | 1069 | * @param Worksheet $pSheet Worksheet |
1070 | 1070 | * @param Cell $pCellAddress Cell Address |
1071 | - * @param string[] $pStringTable String table |
|
1072 | 1071 | * @param string[] $pFlippedStringTable String table (flipped), for faster index searching |
1073 | 1072 | * |
1074 | 1073 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |