@@ -1367,6 +1367,10 @@ discard block |
||
1367 | 1367 | // 1 on success. |
1368 | 1368 | // 0 on failure. |
1369 | 1369 | // -------------------------------------------------------------------------------- |
1370 | + |
|
1371 | + /** |
|
1372 | + * @param integer $p_size |
|
1373 | + */ |
|
1370 | 1374 | public function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options = false) |
1371 | 1375 | { |
1372 | 1376 | $v_result = 1; |
@@ -2218,6 +2222,10 @@ discard block |
||
2218 | 2222 | // Description : |
2219 | 2223 | // Parameters : |
2220 | 2224 | // -------------------------------------------------------------------------------- |
2225 | + |
|
2226 | + /** |
|
2227 | + * @param string $p_mode |
|
2228 | + */ |
|
2221 | 2229 | public function privOpenFd($p_mode) |
2222 | 2230 | { |
2223 | 2231 | $v_result = 1; |
@@ -3831,6 +3839,10 @@ discard block |
||
3831 | 3839 | // Parameters : |
3832 | 3840 | // Return Values : |
3833 | 3841 | // -------------------------------------------------------------------------------- |
3842 | + |
|
3843 | + /** |
|
3844 | + * @param string $p_string |
|
3845 | + */ |
|
3834 | 3846 | public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options) |
3835 | 3847 | { |
3836 | 3848 | $v_result = 1; |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | * |
235 | 235 | * return string|null|array |
236 | 236 | * |
237 | - * @param mixed $what |
|
237 | + * @param string $what |
|
238 | 238 | * |
239 | 239 | * @return string |
240 | 240 | */ |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | /** |
286 | 286 | * retrieve Binaries Ribbon Objects. |
287 | 287 | * |
288 | - * @param mixed $What |
|
288 | + * @param string $What |
|
289 | 289 | */ |
290 | 290 | public function getRibbonBinObjects($What = 'all') |
291 | 291 | { |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | * |
591 | 591 | * @throws Exception |
592 | 592 | * |
593 | - * @return false|Chart |
|
593 | + * @return null|Chart |
|
594 | 594 | */ |
595 | 595 | public function getChartByIndex($index = null) |
596 | 596 | { |
@@ -1120,7 +1120,7 @@ discard block |
||
1120 | 1120 | * Set a cell value. |
1121 | 1121 | * |
1122 | 1122 | * @param string $pCoordinate Coordinate of the cell |
1123 | - * @param mixed $pValue Value of the cell |
|
1123 | + * @param integer $pValue Value of the cell |
|
1124 | 1124 | * @param bool $returnCell Return the worksheet (false, default) or the cell (true) |
1125 | 1125 | * |
1126 | 1126 | * @return Worksheet|Cell Depending on the last parameter being specified |
@@ -1237,8 +1237,8 @@ discard block |
||
1237 | 1237 | /** |
1238 | 1238 | * Get cell at a specific coordinate by using numeric cell coordinates. |
1239 | 1239 | * |
1240 | - * @param string $pColumn Numeric column coordinate of the cell |
|
1241 | - * @param string $pRow Numeric row coordinate of the cell |
|
1240 | + * @param integer $pColumn Numeric column coordinate of the cell |
|
1241 | + * @param integer $pRow Numeric row coordinate of the cell |
|
1242 | 1242 | * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't |
1243 | 1243 | * already exist, or a null should be returned instead |
1244 | 1244 | * |
@@ -1348,8 +1348,8 @@ discard block |
||
1348 | 1348 | /** |
1349 | 1349 | * Cell at a specific coordinate by using numeric cell coordinates exists? |
1350 | 1350 | * |
1351 | - * @param string $pColumn Numeric column coordinate of the cell |
|
1352 | - * @param string $pRow Numeric row coordinate of the cell |
|
1351 | + * @param integer $pColumn Numeric column coordinate of the cell |
|
1352 | + * @param integer $pRow Numeric row coordinate of the cell |
|
1353 | 1353 | * |
1354 | 1354 | * @return bool |
1355 | 1355 | */ |
@@ -1362,7 +1362,7 @@ discard block |
||
1362 | 1362 | * Get row dimension at a specific row. |
1363 | 1363 | * |
1364 | 1364 | * @param int $pRow Numeric index of the row |
1365 | - * @param mixed $create |
|
1365 | + * @param boolean $create |
|
1366 | 1366 | * |
1367 | 1367 | * @return Worksheet\RowDimension |
1368 | 1368 | */ |
@@ -1388,7 +1388,7 @@ discard block |
||
1388 | 1388 | * Get column dimension at a specific column. |
1389 | 1389 | * |
1390 | 1390 | * @param string $pColumn String index of the column |
1391 | - * @param mixed $create |
|
1391 | + * @param boolean $create |
|
1392 | 1392 | * |
1393 | 1393 | * @return Worksheet\ColumnDimension |
1394 | 1394 | */ |
@@ -1934,7 +1934,7 @@ discard block |
||
1934 | 1934 | /** |
1935 | 1935 | * Set AutoFilter. |
1936 | 1936 | * |
1937 | - * @param Worksheet\AutoFilter|string $pValue |
|
1937 | + * @param string $pValue |
|
1938 | 1938 | * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility |
1939 | 1939 | * |
1940 | 1940 | * @throws Exception |
@@ -2994,7 +2994,7 @@ discard block |
||
2994 | 2994 | * |
2995 | 2995 | * @throws Exception |
2996 | 2996 | * |
2997 | - * @return objWorksheet |
|
2997 | + * @return Worksheet |
|
2998 | 2998 | */ |
2999 | 2999 | public function setCodeName($pValue = null) |
3000 | 3000 | { |
@@ -1165,7 +1165,7 @@ |
||
1165 | 1165 | * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet |
1166 | 1166 | * @param array $pValues Array containing cells in a row |
1167 | 1167 | * @param int $pRow Row number (0-based) |
1168 | - * @param mixed $cellType |
|
1168 | + * @param string $cellType |
|
1169 | 1169 | * |
1170 | 1170 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
1171 | 1171 | * |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | * |
506 | 506 | * @param mixed $token the token to convert |
507 | 507 | * |
508 | - * @return mixed the converted token on success |
|
508 | + * @return string the converted token on success |
|
509 | 509 | */ |
510 | 510 | private function convert($token) |
511 | 511 | { |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | * |
575 | 575 | * @param string $string a string for conversion to its ptg value |
576 | 576 | * |
577 | - * @return mixed the converted token on success |
|
577 | + * @return string the converted token on success |
|
578 | 578 | */ |
579 | 579 | private function convertString($string) |
580 | 580 | { |
@@ -652,7 +652,7 @@ discard block |
||
652 | 652 | * |
653 | 653 | * @param string $token an Excel range in the Sheet1!A1:A2 format |
654 | 654 | * |
655 | - * @return mixed the packed ptgArea3d token on success |
|
655 | + * @return string the packed ptgArea3d token on success |
|
656 | 656 | */ |
657 | 657 | private function convertRange3d($token) |
658 | 658 | { |
@@ -704,7 +704,7 @@ discard block |
||
704 | 704 | * |
705 | 705 | * @param string $cell An Excel cell reference |
706 | 706 | * |
707 | - * @return mixed the packed ptgRef3d token on success |
|
707 | + * @return string the packed ptgRef3d token on success |
|
708 | 708 | */ |
709 | 709 | private function convertRef3d($cell) |
710 | 710 | { |
@@ -803,7 +803,7 @@ discard block |
||
803 | 803 | * |
804 | 804 | * @param string $ext_ref The name of the external reference |
805 | 805 | * |
806 | - * @return mixed The reference index in packed() format on success |
|
806 | + * @return string The reference index in packed() format on success |
|
807 | 807 | */ |
808 | 808 | private function getRefIndex($ext_ref) |
809 | 809 | { |
@@ -894,7 +894,7 @@ discard block |
||
894 | 894 | * |
895 | 895 | * @param string $cell The Excel cell reference to be packed |
896 | 896 | * |
897 | - * @return array Array containing the row and column in packed() format |
|
897 | + * @return string[] Array containing the row and column in packed() format |
|
898 | 898 | */ |
899 | 899 | private function cellToPackedRowcol($cell) |
900 | 900 | { |
@@ -923,7 +923,7 @@ discard block |
||
923 | 923 | * |
924 | 924 | * @param string $range The Excel range to be packed |
925 | 925 | * |
926 | - * @return array Array containing (row1,col1,row2,col2) in packed() format |
|
926 | + * @return string[] Array containing (row1,col1,row2,col2) in packed() format |
|
927 | 927 | */ |
928 | 928 | private function rangeToPackedRange($range) |
929 | 929 | { |
@@ -1039,7 +1039,7 @@ discard block |
||
1039 | 1039 | /** |
1040 | 1040 | * Checks if it's a valid token. |
1041 | 1041 | * |
1042 | - * @param mixed $token the token to check |
|
1042 | + * @param string $token the token to check |
|
1043 | 1043 | * |
1044 | 1044 | * @return mixed The checked token or false on failure |
1045 | 1045 | */ |
@@ -1125,7 +1125,7 @@ discard block |
||
1125 | 1125 | * @param string $formula the formula to parse, without the initial equal |
1126 | 1126 | * sign (=) |
1127 | 1127 | * |
1128 | - * @return mixed true on success |
|
1128 | + * @return boolean true on success |
|
1129 | 1129 | */ |
1130 | 1130 | public function parse($formula) |
1131 | 1131 | { |
@@ -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 |
@@ -410,8 +410,8 @@ discard block |
||
410 | 410 | * @param string $id1 |
411 | 411 | * @param string $id2 |
412 | 412 | * @param bool $isMultiLevelSeries |
413 | - * @param mixed $xAxis |
|
414 | - * @param mixed $yAxis |
|
413 | + * @param null|Axis $xAxis |
|
414 | + * @param null|Axis $yAxis |
|
415 | 415 | * |
416 | 416 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
417 | 417 | */ |
@@ -533,10 +533,10 @@ discard block |
||
533 | 533 | * @param string $id1 |
534 | 534 | * @param string $id2 |
535 | 535 | * @param bool $isMultiLevelSeries |
536 | - * @param mixed $xAxis |
|
537 | - * @param mixed $yAxis |
|
538 | - * @param mixed $majorGridlines |
|
539 | - * @param mixed $minorGridlines |
|
536 | + * @param null|Axis $xAxis |
|
537 | + * @param null|Axis $yAxis |
|
538 | + * @param null|GridLines $majorGridlines |
|
539 | + * @param null|GridLines $minorGridlines |
|
540 | 540 | * |
541 | 541 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
542 | 542 | */ |