Completed
Push — develop ( 557e80...8d23bd )
by Adrien
46:21
created
src/PhpSpreadsheet/Calculation/LookupRef.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls/Xf.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Row.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLERead.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/Layout.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
308 308
     /**
309 309
      * Get Height.
310 310
      *
311
-     * @return number
311
+     * @return string
312 312
      */
313 313
     public function getHeight()
314 314
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/Engineering.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1855,7 +1855,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -56,6 +56,10 @@  discard block
 block discarded – undo
56 56
         return [(int) $value];
57 57
     }
58 58
 
59
+    /**
60
+     * @param integer $num
61
+     * @param integer $n
62
+     */
59 63
     private static function romanCut($num, $n)
60 64
     {
61 65
         return ($num - ($num % $n)) / $n;
@@ -508,7 +512,7 @@  discard block
 block discarded – undo
508 512
      * @category Mathematical and Trigonometric Functions
509 513
      *
510 514
      * @param float $number The positive real number for which you want the logarithm
511
-     * @param float $base The base of the logarithm. If base is omitted, it is assumed to be 10.
515
+     * @param integer $base The base of the logarithm. If base is omitted, it is assumed to be 10.
512 516
      *
513 517
      * @return float
514 518
      */
@@ -826,8 +830,8 @@  discard block
 block discarded – undo
826 830
      *
827 831
      * Computes x raised to the power y.
828 832
      *
829
-     * @param float $x
830
-     * @param float $y
833
+     * @param integer $x
834
+     * @param integer $y
831 835
      *
832 836
      * @return float
833 837
      */
@@ -901,7 +905,7 @@  discard block
 block discarded – undo
901 905
      *
902 906
      * @param mixed ...$args Data values
903 907
      *
904
-     * @return float
908
+     * @return integer
905 909
      */
906 910
     public static function QUOTIENT(...$args)
907 911
     {
@@ -1039,9 +1043,6 @@  discard block
 block discarded – undo
1039 1043
      *
1040 1044
      * Returns the sum of a power series
1041 1045
      *
1042
-     * @param float $x Input value to the power series
1043
-     * @param float $n Initial power to which you want to raise $x
1044
-     * @param float $m Step by which to increase $n for each term in the series
1045 1046
      * @param array of mixed Data Series
1046 1047
      *
1047 1048
      * @return float
@@ -1219,7 +1220,7 @@  discard block
 block discarded – undo
1219 1220
      * @param mixed $aArgs
1220 1221
      * @param mixed $sumArgs
1221 1222
      *
1222
-     * @return float
1223
+     * @return integer
1223 1224
      */
1224 1225
     public static function SUMIF($aArgs, $condition, $sumArgs = [])
1225 1226
     {
@@ -1259,9 +1260,8 @@  discard block
 block discarded – undo
1259 1260
      *    @category Mathematical and Trigonometric Functions
1260 1261
      *
1261 1262
      * @param mixed $args Data values
1262
-     * @param string $condition the criteria that defines which cells will be summed
1263 1263
      *
1264
-     * @return float
1264
+     * @return integer
1265 1265
      */
1266 1266
     public static function SUMIFS(...$args)
1267 1267
     {
@@ -1450,7 +1450,7 @@  discard block
 block discarded – undo
1450 1450
      *
1451 1451
      * Truncates value to the number of fractional digits by number_digits.
1452 1452
      *
1453
-     * @param float $value
1453
+     * @param integer $value
1454 1454
      * @param int $digits
1455 1455
      *
1456 1456
      * @return float Truncated value
Please login to merge, or discard this patch.
src/PhpSpreadsheet/NamedRange.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.