@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @param row Row number to use in the cell reference |
40 | 40 | * @param column Column number to use in the cell reference |
41 | - * @param relativity Flag indicating the type of reference to return |
|
41 | + * @param relativity integer indicating the type of reference to return |
|
42 | 42 | * 1 or omitted Absolute |
43 | 43 | * 2 Absolute row; relative column |
44 | 44 | * 3 Relative row; absolute column |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * @param sheetText Optional Name of worksheet to use |
50 | 50 | * @param mixed $row |
51 | 51 | * @param mixed $column |
52 | - * @param mixed $relativity |
|
52 | + * @param integer $relativity |
|
53 | 53 | * @param mixed $referenceStyle |
54 | 54 | * @param mixed $sheetText |
55 | 55 | * |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | * |
361 | 361 | * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or |
362 | 362 | * range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value. |
363 | - * @param rows The number of rows, up or down, that you want the upper-left cell to refer to. |
|
363 | + * @param rows integer number of rows, up or down, that you want the upper-left cell to refer to. |
|
364 | 364 | * Using 5 as the rows argument specifies that the upper-left cell in the reference is |
365 | 365 | * five rows below reference. Rows can be positive (which means below the starting reference) |
366 | 366 | * or negative (which means above the starting reference). |
@@ -372,8 +372,8 @@ discard block |
||
372 | 372 | * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number. |
373 | 373 | * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number. |
374 | 374 | * @param null|mixed $cellAddress |
375 | - * @param mixed $rows |
|
376 | - * @param mixed $columns |
|
375 | + * @param integer $rows |
|
376 | + * @param integer $columns |
|
377 | 377 | * @param null|mixed $height |
378 | 378 | * @param null|mixed $width |
379 | 379 | * @param Cell $pCell |
@@ -501,7 +501,7 @@ discard block |
||
501 | 501 | * |
502 | 502 | * @param mixed $lookupValue The value that you want to match in lookup_array |
503 | 503 | * @param mixed $lookupArray The range of cells being searched |
504 | - * @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. |
|
504 | + * @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. |
|
505 | 505 | * |
506 | 506 | * @return int The relative position of the found item |
507 | 507 | */ |
@@ -615,8 +615,8 @@ discard block |
||
615 | 615 | * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required. |
616 | 616 | * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required. |
617 | 617 | * @param mixed $arrayValues |
618 | - * @param mixed $rowNum |
|
619 | - * @param mixed $columnNum |
|
618 | + * @param integer $rowNum |
|
619 | + * @param integer $columnNum |
|
620 | 620 | * |
621 | 621 | * @return mixed the value of a specified cell or array of cells |
622 | 622 | */ |
@@ -712,11 +712,11 @@ discard block |
||
712 | 712 | * |
713 | 713 | * @param lookup_value The value that you want to match in lookup_array |
714 | 714 | * @param lookup_array The range of cells being searched |
715 | - * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1. |
|
715 | + * @param index_number integer column number in table_array from which the matching value must be returned. The first column is 1. |
|
716 | 716 | * @param not_exact_match determines if you are looking for an exact match based on lookup_value |
717 | 717 | * @param mixed $lookup_value |
718 | 718 | * @param mixed $lookup_array |
719 | - * @param mixed $index_number |
|
719 | + * @param integer $index_number |
|
720 | 720 | * @param mixed $not_exact_match |
721 | 721 | * |
722 | 722 | * @return mixed The value of the found cell |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Constructor. |
142 | 142 | * |
143 | - * @param Style The XF format |
|
143 | + * @param Style Style XF format |
|
144 | 144 | */ |
145 | 145 | public function __construct(Style $style) |
146 | 146 | { |
@@ -45,7 +45,6 @@ |
||
45 | 45 | /** |
46 | 46 | * Create a new row. |
47 | 47 | * |
48 | - * @param Worksheet $parent |
|
49 | 48 | * @param int $rowIndex |
50 | 49 | */ |
51 | 50 | public function __construct(Worksheet $worksheet = null, $rowIndex = 1) |
@@ -243,7 +243,7 @@ |
||
243 | 243 | /** |
244 | 244 | * Solve A*X = B. |
245 | 245 | * |
246 | - * @param $B a Matrix with as many rows as A and any number of columns |
|
246 | + * @param Matrix $B a Matrix with as many rows as A and any number of columns |
|
247 | 247 | * |
248 | 248 | * @throws CalculationException illegalArgumentException Matrix row dimensions must agree |
249 | 249 | * @throws CalculationException runtimeException Matrix is singular |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Read the file. |
73 | 73 | * |
74 | - * @param $pFilename string Filename |
|
74 | + * @param string $pFilename string Filename |
|
75 | 75 | * |
76 | 76 | * @throws ReaderException |
77 | 77 | */ |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * Get X-Position. |
238 | 238 | * |
239 | - * @return number |
|
239 | + * @return string |
|
240 | 240 | */ |
241 | 241 | public function getXPosition() |
242 | 242 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | /** |
261 | 261 | * Get Y-Position. |
262 | 262 | * |
263 | - * @return number |
|
263 | + * @return string |
|
264 | 264 | */ |
265 | 265 | public function getYPosition() |
266 | 266 | { |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * Get Width. |
286 | 286 | * |
287 | - * @return number |
|
287 | + * @return string |
|
288 | 288 | */ |
289 | 289 | public function getWidth() |
290 | 290 | { |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | /** |
309 | 309 | * Get Height. |
310 | 310 | * |
311 | - * @return number |
|
311 | + * @return string |
|
312 | 312 | */ |
313 | 313 | public function getHeight() |
314 | 314 | { |
@@ -1855,7 +1855,7 @@ discard block |
||
1855 | 1855 | * |
1856 | 1856 | * @param string $complexNumber the complex number for which you want the real coefficient |
1857 | 1857 | * |
1858 | - * @return float |
|
1858 | + * @return string |
|
1859 | 1859 | */ |
1860 | 1860 | public static function IMREAL($complexNumber) |
1861 | 1861 | { |
@@ -2294,6 +2294,7 @@ discard block |
||
2294 | 2294 | * IMSUM(complexNumber[,complexNumber[,...]]) |
2295 | 2295 | * |
2296 | 2296 | * @param string ...$complexNumbers Series of complex numbers to add |
2297 | + * @param string[] $complexNumbers |
|
2297 | 2298 | * |
2298 | 2299 | * @return string |
2299 | 2300 | */ |
@@ -2334,6 +2335,7 @@ discard block |
||
2334 | 2335 | * IMPRODUCT(complexNumber[,complexNumber[,...]]) |
2335 | 2336 | * |
2336 | 2337 | * @param string ...$complexNumbers Series of complex numbers to multiply |
2338 | + * @param string[] $complexNumbers |
|
2337 | 2339 | * |
2338 | 2340 | * @return string |
2339 | 2341 | */ |
@@ -2377,7 +2379,7 @@ discard block |
||
2377 | 2379 | * DELTA(a[,b]) |
2378 | 2380 | * |
2379 | 2381 | * @param float $a the first number |
2380 | - * @param float $b The second number. If omitted, b is assumed to be zero. |
|
2382 | + * @param integer $b The second number. If omitted, b is assumed to be zero. |
|
2381 | 2383 | * |
2382 | 2384 | * @return int |
2383 | 2385 | */ |
@@ -2400,7 +2402,7 @@ discard block |
||
2400 | 2402 | * functions you calculate the count of values that exceed a threshold. |
2401 | 2403 | * |
2402 | 2404 | * @param float $number the value to test against step |
2403 | - * @param float $step The threshold value. |
|
2405 | + * @param integer $step The threshold value. |
|
2404 | 2406 | * If you omit a value for step, GESTEP uses zero. |
2405 | 2407 | * |
2406 | 2408 | * @return int |
@@ -212,7 +212,7 @@ |
||
212 | 212 | * Resolve a named range to a regular cell range. |
213 | 213 | * |
214 | 214 | * @param string $pNamedRange Named range |
215 | - * @param null|Worksheet $pSheet Scope. Use null for global scope |
|
215 | + * @param Worksheet $pSheet Scope. Use null for global scope |
|
216 | 216 | * |
217 | 217 | * @return NamedRange |
218 | 218 | */ |
@@ -217,7 +217,7 @@ |
||
217 | 217 | * Calculate an (approximate) OpenXML column width, based on font size and text contained. |
218 | 218 | * |
219 | 219 | * @param \PhpOffice\PhpSpreadsheet\Style\Font $font Font object |
220 | - * @param RichText|string $cellText Text to calculate width |
|
220 | + * @param string $cellText Text to calculate width |
|
221 | 221 | * @param int $rotation Rotation angle |
222 | 222 | * @param null|\PhpOffice\PhpSpreadsheet\Style\Font $defaultFont Font object |
223 | 223 | * |