@@ -43,7 +43,6 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Create a new row. |
45 | 45 | * |
46 | - * @param \PhpOffice\PhpSpreadsheet\Worksheet $parent |
|
47 | 46 | * @param int $rowIndex |
48 | 47 | */ |
49 | 48 | public function __construct(\PhpOffice\PhpSpreadsheet\Worksheet $worksheet = null, $rowIndex = 1) |
@@ -87,7 +86,7 @@ discard block |
||
87 | 86 | /** |
88 | 87 | * Returns bound worksheet. |
89 | 88 | * |
90 | - * @return Worksheet |
|
89 | + * @return |
|
91 | 90 | */ |
92 | 91 | public function getWorksheet() |
93 | 92 | { |
@@ -240,8 +240,8 @@ discard block |
||
240 | 240 | * |
241 | 241 | * @param \PhpOffice\PhpSpreadsheet\Style |
242 | 242 | * @param bool Is it a style XF? |
243 | - * @param mixed $style |
|
244 | - * @param mixed $isStyleXf |
|
243 | + * @param \PhpOffice\PhpSpreadsheet\Style $style |
|
244 | + * @param boolean $isStyleXf |
|
245 | 245 | * |
246 | 246 | * @return int Index to XF record |
247 | 247 | */ |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | * |
797 | 797 | * @param string $name The name in UTF-8 |
798 | 798 | * @param string $formulaData The binary formula data |
799 | - * @param string $sheetIndex 1-based sheet index the defined name applies to. 0 = global |
|
799 | + * @param integer $sheetIndex 1-based sheet index the defined name applies to. 0 = global |
|
800 | 800 | * @param bool $isBuiltIn Built-in name? |
801 | 801 | * |
802 | 802 | * @return string Complete binary record data |
@@ -223,10 +223,12 @@ discard block |
||
223 | 223 | * @param int &$str_unique Total number of unique strings |
224 | 224 | * @param array &$str_table String Table |
225 | 225 | * @param array &$colors Colour Table |
226 | - * @param mixed $parser The formula parser created for the Workbook |
|
226 | + * @param Parser $parser The formula parser created for the Workbook |
|
227 | 227 | * @param bool $preCalculateFormulas Flag indicating whether formulas should be calculated or just written |
228 | 228 | * @param string $phpSheet The worksheet to write |
229 | 229 | * @param \PhpOffice\PhpSpreadsheet\Worksheet $phpSheet |
230 | + * @param integer $str_total |
|
231 | + * @param integer $str_unique |
|
230 | 232 | */ |
231 | 233 | public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet) |
232 | 234 | { |
@@ -624,7 +626,7 @@ discard block |
||
624 | 626 | * @param int $row Zero indexed row |
625 | 627 | * @param int $col Zero indexed column |
626 | 628 | * @param float $num The number to write |
627 | - * @param mixed $xfIndex The optional XF format |
|
629 | + * @param integer $xfIndex The optional XF format |
|
628 | 630 | * |
629 | 631 | * @return int |
630 | 632 | */ |
@@ -733,7 +735,7 @@ discard block |
||
733 | 735 | * @param int $row Zero indexed row |
734 | 736 | * @param int $col Zero indexed column |
735 | 737 | * @param string $str The string to write |
736 | - * @param mixed $xfIndex The XF format index for the cell |
|
738 | + * @param integer $xfIndex The XF format index for the cell |
|
737 | 739 | * |
738 | 740 | * @return int |
739 | 741 | */ |
@@ -800,7 +802,7 @@ discard block |
||
800 | 802 | * |
801 | 803 | * @param int $row Zero indexed row |
802 | 804 | * @param int $col Zero indexed column |
803 | - * @param mixed $xfIndex The XF format index |
|
805 | + * @param integer $xfIndex The XF format index |
|
804 | 806 | */ |
805 | 807 | public function writeBlank($row, $col, $xfIndex) |
806 | 808 | { |
@@ -847,7 +849,7 @@ discard block |
||
847 | 849 | * @param int $row Zero indexed row |
848 | 850 | * @param int $col Zero indexed column |
849 | 851 | * @param string $formula The formula text string |
850 | - * @param mixed $xfIndex The XF format index |
|
852 | + * @param integer $xfIndex The XF format index |
|
851 | 853 | * @param mixed $calculatedValue Calculated value |
852 | 854 | * |
853 | 855 | * @return int |
@@ -2327,8 +2329,8 @@ discard block |
||
2327 | 2329 | * @param mixed $bitmap The bitmap filename or GD-image resource |
2328 | 2330 | * @param int $x the horizontal position (offset) of the image inside the cell |
2329 | 2331 | * @param int $y the vertical position (offset) of the image inside the cell |
2330 | - * @param float $scale_x The horizontal scale |
|
2331 | - * @param float $scale_y The vertical scale |
|
2332 | + * @param integer $scale_x The horizontal scale |
|
2333 | + * @param integer $scale_y The vertical scale |
|
2332 | 2334 | */ |
2333 | 2335 | public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) |
2334 | 2336 | { |