@@ -580,7 +580,7 @@ discard block |
||
580 | 580 | * |
581 | 581 | * @throws Exception |
582 | 582 | * |
583 | - * @return false|Chart |
|
583 | + * @return Chart |
|
584 | 584 | */ |
585 | 585 | public function getChartByIndex($index) |
586 | 586 | { |
@@ -1089,7 +1089,7 @@ discard block |
||
1089 | 1089 | * @param string $column Return the highest data row for the specified column, |
1090 | 1090 | * or the highest data row of any column if no column letter is passed |
1091 | 1091 | * |
1092 | - * @return string Highest row number that contains data |
|
1092 | + * @return integer Highest row number that contains data |
|
1093 | 1093 | */ |
1094 | 1094 | public function getHighestDataRow($column = null) |
1095 | 1095 | { |
@@ -1141,7 +1141,7 @@ discard block |
||
1141 | 1141 | * Set a cell value. |
1142 | 1142 | * |
1143 | 1143 | * @param string $pCoordinate Coordinate of the cell, eg: 'A1' |
1144 | - * @param mixed $pValue Value of the cell |
|
1144 | + * @param string $pValue Value of the cell |
|
1145 | 1145 | * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_* |
1146 | 1146 | * |
1147 | 1147 | * @return Worksheet |
@@ -1161,7 +1161,6 @@ discard block |
||
1161 | 1161 | * @param int $pRow Numeric row coordinate of the cell |
1162 | 1162 | * @param mixed $pValue Value of the cell |
1163 | 1163 | * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_* |
1164 | - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) |
|
1165 | 1164 | * |
1166 | 1165 | * @return Worksheet |
1167 | 1166 | */ |
@@ -1347,7 +1346,7 @@ discard block |
||
1347 | 1346 | * Get row dimension at a specific row. |
1348 | 1347 | * |
1349 | 1348 | * @param int $pRow Numeric index of the row |
1350 | - * @param mixed $create |
|
1349 | + * @param boolean $create |
|
1351 | 1350 | * |
1352 | 1351 | * @return Worksheet\RowDimension |
1353 | 1352 | */ |
@@ -1373,7 +1372,7 @@ discard block |
||
1373 | 1372 | * Get column dimension at a specific column. |
1374 | 1373 | * |
1375 | 1374 | * @param string $pColumn String index of the column eg: 'A' |
1376 | - * @param mixed $create |
|
1375 | + * @param boolean $create |
|
1377 | 1376 | * |
1378 | 1377 | * @return Worksheet\ColumnDimension |
1379 | 1378 | */ |
@@ -1919,7 +1918,7 @@ discard block |
||
1919 | 1918 | /** |
1920 | 1919 | * Set AutoFilter. |
1921 | 1920 | * |
1922 | - * @param Worksheet\AutoFilter|string $pValue |
|
1921 | + * @param string $pValue |
|
1923 | 1922 | * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility |
1924 | 1923 | * |
1925 | 1924 | * @throws Exception |
@@ -2977,11 +2976,11 @@ discard block |
||
2977 | 2976 | * Define the code name of the sheet. |
2978 | 2977 | * |
2979 | 2978 | * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore) |
2980 | - * @param null|mixed $pValue |
|
2979 | + * @param string $pValue |
|
2981 | 2980 | * |
2982 | 2981 | * @throws Exception |
2983 | 2982 | * |
2984 | - * @return objWorksheet |
|
2983 | + * @return Worksheet |
|
2985 | 2984 | */ |
2986 | 2985 | public function setCodeName($pValue) |
2987 | 2986 | { |
@@ -471,7 +471,7 @@ discard block |
||
471 | 471 | /** |
472 | 472 | * Set Columns to repeat at left. |
473 | 473 | * |
474 | - * @param array $pValue Containing start column and end column, empty array if option unset |
|
474 | + * @param string[] $pValue Containing start column and end column, empty array if option unset |
|
475 | 475 | * |
476 | 476 | * @return PageSetup |
477 | 477 | */ |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | /** |
527 | 527 | * Set Rows to repeat at top. |
528 | 528 | * |
529 | - * @param array $pValue Containing start column and end column, empty array if option unset |
|
529 | + * @param string[] $pValue Containing start column and end column, empty array if option unset |
|
530 | 530 | * |
531 | 531 | * @return PageSetup |
532 | 532 | */ |
@@ -1172,7 +1172,7 @@ |
||
1172 | 1172 | * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet |
1173 | 1173 | * @param array $pValues Array containing cells in a row |
1174 | 1174 | * @param int $pRow Row number (0-based) |
1175 | - * @param mixed $cellType eg: 'td' |
|
1175 | + * @param string $cellType eg: 'td' |
|
1176 | 1176 | * |
1177 | 1177 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
1178 | 1178 | * |
@@ -1062,7 +1062,6 @@ |
||
1062 | 1062 | * @param \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter XML Writer |
1063 | 1063 | * @param \PhpOffice\PhpSpreadsheet\Worksheet $pSheet Worksheet |
1064 | 1064 | * @param \PhpOffice\PhpSpreadsheet\Cell $pCellAddress Cell Address |
1065 | - * @param string[] $pStringTable String table |
|
1066 | 1065 | * @param string[] $pFlippedStringTable String table (flipped), for faster index searching |
1067 | 1066 | * |
1068 | 1067 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |