@@ -1188,7 +1188,7 @@ |
||
1188 | 1188 | * @param Worksheet $pSheet \PhpOffice\PhpSpreadsheet\Worksheet |
1189 | 1189 | * @param array $pValues Array containing cells in a row |
1190 | 1190 | * @param int $pRow Row number (0-based) |
1191 | - * @param mixed $cellType eg: 'td' |
|
1191 | + * @param string $cellType eg: 'td' |
|
1192 | 1192 | * |
1193 | 1193 | * @throws WriterException |
1194 | 1194 | * |
@@ -25,7 +25,7 @@ |
||
25 | 25 | require_once __DIR__ . '/../../../src/Bootstrap.php'; |
26 | 26 | |
27 | 27 | $inputFileName = './sampleData/example_1.xls'; |
28 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />'; |
|
28 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />'; |
|
29 | 29 | try { |
30 | 30 | $spreadsheet = IOFactory::load($inputFileName); |
31 | 31 | } catch (InvalidArgumentException $e) { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | $inputFileName = './sampleData/example1.xls'; |
27 | 27 | |
28 | -echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using \PhpOffice\PhpSpreadsheet\Reader\Xls<br />'; |
|
28 | +echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using \PhpOffice\PhpSpreadsheet\Reader\Xls<br />'; |
|
29 | 29 | $reader = new Xls(); |
30 | 30 | // $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xlsx(); |
31 | 31 | // $reader = new \PhpOffice\PhpSpreadsheet\Reader\Xml(); |
@@ -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 | { |
@@ -1091,7 +1091,7 @@ discard block |
||
1091 | 1091 | * @param string $column Return the highest data row for the specified column, |
1092 | 1092 | * or the highest data row of any column if no column letter is passed |
1093 | 1093 | * |
1094 | - * @return string Highest row number that contains data |
|
1094 | + * @return integer Highest row number that contains data |
|
1095 | 1095 | */ |
1096 | 1096 | public function getHighestDataRow($column = null) |
1097 | 1097 | { |
@@ -1143,7 +1143,7 @@ discard block |
||
1143 | 1143 | * Set a cell value. |
1144 | 1144 | * |
1145 | 1145 | * @param string $pCoordinate Coordinate of the cell, eg: 'A1' |
1146 | - * @param mixed $pValue Value of the cell |
|
1146 | + * @param string $pValue Value of the cell |
|
1147 | 1147 | * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_* |
1148 | 1148 | * |
1149 | 1149 | * @return Worksheet |
@@ -1348,7 +1348,7 @@ discard block |
||
1348 | 1348 | * Get row dimension at a specific row. |
1349 | 1349 | * |
1350 | 1350 | * @param int $pRow Numeric index of the row |
1351 | - * @param mixed $create |
|
1351 | + * @param boolean $create |
|
1352 | 1352 | * |
1353 | 1353 | * @return Worksheet\RowDimension |
1354 | 1354 | */ |
@@ -1374,7 +1374,7 @@ discard block |
||
1374 | 1374 | * Get column dimension at a specific column. |
1375 | 1375 | * |
1376 | 1376 | * @param string $pColumn String index of the column eg: 'A' |
1377 | - * @param mixed $create |
|
1377 | + * @param boolean $create |
|
1378 | 1378 | * |
1379 | 1379 | * @return Worksheet\ColumnDimension |
1380 | 1380 | */ |
@@ -1920,7 +1920,7 @@ discard block |
||
1920 | 1920 | /** |
1921 | 1921 | * Set AutoFilter. |
1922 | 1922 | * |
1923 | - * @param Worksheet\AutoFilter|string $pValue |
|
1923 | + * @param string $pValue |
|
1924 | 1924 | * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility |
1925 | 1925 | * |
1926 | 1926 | * @throws Exception |
@@ -2984,7 +2984,7 @@ discard block |
||
2984 | 2984 | * |
2985 | 2985 | * @throws Exception |
2986 | 2986 | * |
2987 | - * @return objWorksheet |
|
2987 | + * @return Worksheet |
|
2988 | 2988 | */ |
2989 | 2989 | public function setCodeName($pValue, $validate = true) |
2990 | 2990 | { |