@@ -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 | */ |
@@ -34,13 +34,13 @@ |
||
34 | 34 | echo 'Reading the number of Worksheets in the WorkBook<br />'; |
35 | 35 | /* Use the PhpSpreadsheet object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook */ |
36 | 36 | $sheetCount = $spreadsheet->getSheetCount(); |
37 | -echo 'There ',(($sheetCount == 1) ? 'is' : 'are'),' ',$sheetCount,' WorkSheet',(($sheetCount == 1) ? '' : 's'),' in the WorkBook<br /><br />'; |
|
37 | +echo 'There ', (($sheetCount == 1) ? 'is' : 'are'), ' ', $sheetCount, ' WorkSheet', (($sheetCount == 1) ? '' : 's'), ' in the WorkBook<br /><br />'; |
|
38 | 38 | |
39 | 39 | echo 'Reading the names of Worksheets in the WorkBook<br />'; |
40 | 40 | /* Use the PhpSpreadsheet object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook */ |
41 | 41 | $sheetNames = $spreadsheet->getSheetNames(); |
42 | 42 | foreach ($sheetNames as $sheetIndex => $sheetName) { |
43 | - echo 'WorkSheet #',$sheetIndex,' is named "',$sheetName,'"<br />'; |
|
43 | + echo 'WorkSheet #', $sheetIndex, ' is named "', $sheetName, '"<br />'; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | ?> |
@@ -158,7 +158,7 @@ |
||
158 | 158 | /** |
159 | 159 | * Get a list of all cell coordinates currently held in the collection. |
160 | 160 | * |
161 | - * @return string[] |
|
161 | + * @return integer[] |
|
162 | 162 | */ |
163 | 163 | public function getCoordinates() |
164 | 164 | { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | * Resolve a named range to a regular cell range. |
235 | 235 | * |
236 | 236 | * @param string $pNamedRange Named range |
237 | - * @param Worksheet|null $pSheet Scope. Use null for global scope |
|
237 | + * @param Worksheet $pSheet Scope. Use null for global scope |
|
238 | 238 | * |
239 | 239 | * @return NamedRange |
240 | 240 | */ |
@@ -472,7 +472,7 @@ |
||
472 | 472 | * |
473 | 473 | * @param int $pValue Sheet index |
474 | 474 | * |
475 | - * @return SYLK |
|
475 | + * @return Slk |
|
476 | 476 | */ |
477 | 477 | public function setSheetIndex($pValue) |
478 | 478 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @param int $pValue Value in pixels |
33 | 33 | * |
34 | - * @return int Value in EMU |
|
34 | + * @return double Value in EMU |
|
35 | 35 | */ |
36 | 36 | public static function pixelsToEMU($pValue) |
37 | 37 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * Class constructor - decomposes symmetric positive definite matrix |
47 | 47 | * |
48 | 48 | * @param mixed Matrix square symmetric positive definite matrix |
49 | - * @param null|mixed $A |
|
49 | + * @param Matrix $A |
|
50 | 50 | */ |
51 | 51 | public function __construct(Matrix $A) |
52 | 52 | { |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * set ribbon XML data. |
219 | 219 | * |
220 | 220 | * @param null|mixed $target |
221 | - * @param null|mixed $xmlData |
|
221 | + * @param string $xmlData |
|
222 | 222 | */ |
223 | 223 | public function setRibbonXMLData($target, $xmlData) |
224 | 224 | { |
@@ -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 | { |
@@ -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 | */ |