@@ -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 | { |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | * |
577 | 577 | * @param string $string a string for conversion to its ptg value |
578 | 578 | * |
579 | - * @return mixed the converted token on success |
|
579 | + * @return string the converted token on success |
|
580 | 580 | */ |
581 | 581 | private function convertString($string) |
582 | 582 | { |
@@ -654,7 +654,7 @@ discard block |
||
654 | 654 | * |
655 | 655 | * @param string $token an Excel range in the Sheet1!A1:A2 format |
656 | 656 | * |
657 | - * @return mixed the packed ptgArea3d token on success |
|
657 | + * @return string the packed ptgArea3d token on success |
|
658 | 658 | */ |
659 | 659 | private function convertRange3d($token) |
660 | 660 | { |
@@ -706,7 +706,7 @@ discard block |
||
706 | 706 | * |
707 | 707 | * @param string $cell An Excel cell reference |
708 | 708 | * |
709 | - * @return mixed the packed ptgRef3d token on success |
|
709 | + * @return string the packed ptgRef3d token on success |
|
710 | 710 | */ |
711 | 711 | private function convertRef3d($cell) |
712 | 712 | { |
@@ -805,7 +805,7 @@ discard block |
||
805 | 805 | * |
806 | 806 | * @param string $ext_ref The name of the external reference |
807 | 807 | * |
808 | - * @return mixed The reference index in packed() format on success |
|
808 | + * @return string The reference index in packed() format on success |
|
809 | 809 | */ |
810 | 810 | private function getRefIndex($ext_ref) |
811 | 811 | { |
@@ -896,7 +896,7 @@ discard block |
||
896 | 896 | * |
897 | 897 | * @param string $cell The Excel cell reference to be packed |
898 | 898 | * |
899 | - * @return array Array containing the row and column in packed() format |
|
899 | + * @return string[] Array containing the row and column in packed() format |
|
900 | 900 | */ |
901 | 901 | private function cellToPackedRowcol($cell) |
902 | 902 | { |
@@ -925,7 +925,7 @@ discard block |
||
925 | 925 | * |
926 | 926 | * @param string $range The Excel range to be packed |
927 | 927 | * |
928 | - * @return array Array containing (row1,col1,row2,col2) in packed() format |
|
928 | + * @return string[] Array containing (row1,col1,row2,col2) in packed() format |
|
929 | 929 | */ |
930 | 930 | private function rangeToPackedRange($range) |
931 | 931 | { |
@@ -1041,7 +1041,7 @@ discard block |
||
1041 | 1041 | /** |
1042 | 1042 | * Checks if it's a valid token. |
1043 | 1043 | * |
1044 | - * @param mixed $token the token to check |
|
1044 | + * @param string $token the token to check |
|
1045 | 1045 | * |
1046 | 1046 | * @return mixed The checked token or false on failure |
1047 | 1047 | */ |
@@ -1127,7 +1127,7 @@ discard block |
||
1127 | 1127 | * @param string $formula the formula to parse, without the initial equal |
1128 | 1128 | * sign (=) |
1129 | 1129 | * |
1130 | - * @return mixed true on success |
|
1130 | + * @return boolean true on success |
|
1131 | 1131 | */ |
1132 | 1132 | public function parse($formula) |
1133 | 1133 | { |
@@ -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 | */ |
@@ -79,10 +79,10 @@ |
||
79 | 79 | /** |
80 | 80 | * Create a new DataSeriesValues object. |
81 | 81 | * |
82 | - * @param mixed $dataType |
|
82 | + * @param string $dataType |
|
83 | 83 | * @param string $dataSource |
84 | 84 | * @param null|mixed $formatCode |
85 | - * @param mixed $pointCount |
|
85 | + * @param integer $pointCount |
|
86 | 86 | * @param mixed $dataValues |
87 | 87 | * @param null|mixed $marker |
88 | 88 | */ |
@@ -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 | { |
@@ -1153,7 +1153,7 @@ discard block |
||
1153 | 1153 | * Set a cell value. |
1154 | 1154 | * |
1155 | 1155 | * @param string $pCoordinate Coordinate of the cell |
1156 | - * @param mixed $pValue Value of the cell |
|
1156 | + * @param string $pValue Value of the cell |
|
1157 | 1157 | * @param string $pDataType Explicit data type |
1158 | 1158 | * @param bool $returnCell Return the worksheet (false, default) or the cell (true) |
1159 | 1159 | * |
@@ -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 |
@@ -2996,7 +2996,7 @@ discard block |
||
2996 | 2996 | * |
2997 | 2997 | * @throws Exception |
2998 | 2998 | * |
2999 | - * @return objWorksheet |
|
2999 | + * @return Worksheet |
|
3000 | 3000 | */ |
3001 | 3001 | public function setCodeName($pValue = null) |
3002 | 3002 | { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * |
37 | 37 | * @param row Row number to use in the cell reference |
38 | 38 | * @param column Column number to use in the cell reference |
39 | - * @param relativity Flag indicating the type of reference to return |
|
39 | + * @param relativity integer indicating the type of reference to return |
|
40 | 40 | * 1 or omitted Absolute |
41 | 41 | * 2 Absolute row; relative column |
42 | 42 | * 3 Relative row; absolute column |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @param sheetText Optional Name of worksheet to use |
48 | 48 | * @param mixed $row |
49 | 49 | * @param mixed $column |
50 | - * @param mixed $relativity |
|
50 | + * @param integer $relativity |
|
51 | 51 | * @param mixed $referenceStyle |
52 | 52 | * @param mixed $sheetText |
53 | 53 | * |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | * |
359 | 359 | * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or |
360 | 360 | * range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value. |
361 | - * @param rows The number of rows, up or down, that you want the upper-left cell to refer to. |
|
361 | + * @param rows integer number of rows, up or down, that you want the upper-left cell to refer to. |
|
362 | 362 | * Using 5 as the rows argument specifies that the upper-left cell in the reference is |
363 | 363 | * five rows below reference. Rows can be positive (which means below the starting reference) |
364 | 364 | * or negative (which means above the starting reference). |
@@ -370,8 +370,8 @@ discard block |
||
370 | 370 | * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number. |
371 | 371 | * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number. |
372 | 372 | * @param null|mixed $cellAddress |
373 | - * @param mixed $rows |
|
374 | - * @param mixed $columns |
|
373 | + * @param integer $rows |
|
374 | + * @param integer $columns |
|
375 | 375 | * @param null|mixed $height |
376 | 376 | * @param null|mixed $width |
377 | 377 | * @param \PhpOffice\PhpSpreadsheet\Cell $pCell |
@@ -499,7 +499,7 @@ discard block |
||
499 | 499 | * |
500 | 500 | * @param mixed $lookupValue The value that you want to match in lookup_array |
501 | 501 | * @param mixed $lookupArray The range of cells being searched |
502 | - * @param mixed $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered. |
|
502 | + * @param integer $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered. |
|
503 | 503 | * |
504 | 504 | * @return int The relative position of the found item |
505 | 505 | */ |
@@ -613,8 +613,8 @@ discard block |
||
613 | 613 | * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required. |
614 | 614 | * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required. |
615 | 615 | * @param mixed $arrayValues |
616 | - * @param mixed $rowNum |
|
617 | - * @param mixed $columnNum |
|
616 | + * @param integer $rowNum |
|
617 | + * @param integer $columnNum |
|
618 | 618 | * |
619 | 619 | * @return mixed the value of a specified cell or array of cells |
620 | 620 | */ |
@@ -710,11 +710,11 @@ discard block |
||
710 | 710 | * |
711 | 711 | * @param lookup_value The value that you want to match in lookup_array |
712 | 712 | * @param lookup_array The range of cells being searched |
713 | - * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1. |
|
713 | + * @param index_number integer column number in table_array from which the matching value must be returned. The first column is 1. |
|
714 | 714 | * @param not_exact_match determines if you are looking for an exact match based on lookup_value |
715 | 715 | * @param mixed $lookup_value |
716 | 716 | * @param mixed $lookup_array |
717 | - * @param mixed $index_number |
|
717 | + * @param integer $index_number |
|
718 | 718 | * @param mixed $not_exact_match |
719 | 719 | * |
720 | 720 | * @return mixed The value of the found cell |