Completed
Push — develop ( 782b4e...557e80 )
by Adrien
43:38
created
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/Writer/Xls/Worksheet.php 1 patch
Doc Comments   +9 added lines, -7 removed lines patch added patch discarded remove patch
@@ -236,10 +236,12 @@  discard block
 block discarded – undo
236 236
      * @param int &$str_unique Total number of unique strings
237 237
      * @param array &$str_table String Table
238 238
      * @param array &$colors Colour Table
239
-     * @param mixed $parser The formula parser created for the Workbook
239
+     * @param Parser $parser The formula parser created for the Workbook
240 240
      * @param bool $preCalculateFormulas Flag indicating whether formulas should be calculated or just written
241 241
      * @param string $phpSheet The worksheet to write
242 242
      * @param Worksheet $phpSheet
243
+     * @param integer $str_total
244
+     * @param integer $str_unique
243 245
      */
244 246
     public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet)
245 247
     {
@@ -636,7 +638,7 @@  discard block
 block discarded – undo
636 638
      * @param int $row Zero indexed row
637 639
      * @param int $col Zero indexed column
638 640
      * @param float $num The number to write
639
-     * @param mixed $xfIndex The optional XF format
641
+     * @param integer $xfIndex The optional XF format
640 642
      *
641 643
      * @return int
642 644
      */
@@ -745,7 +747,7 @@  discard block
 block discarded – undo
745 747
      * @param int $row Zero indexed row
746 748
      * @param int $col Zero indexed column
747 749
      * @param string $str The string to write
748
-     * @param mixed $xfIndex The XF format index for the cell
750
+     * @param integer $xfIndex The XF format index for the cell
749 751
      *
750 752
      * @return int
751 753
      */
@@ -812,7 +814,7 @@  discard block
 block discarded – undo
812 814
      *
813 815
      * @param int $row Zero indexed row
814 816
      * @param int $col Zero indexed column
815
-     * @param mixed $xfIndex The XF format index
817
+     * @param integer $xfIndex The XF format index
816 818
      */
817 819
     public function writeBlank($row, $col, $xfIndex)
818 820
     {
@@ -859,7 +861,7 @@  discard block
 block discarded – undo
859 861
      * @param int $row Zero indexed row
860 862
      * @param int $col Zero indexed column
861 863
      * @param string $formula The formula text string
862
-     * @param mixed $xfIndex The XF format index
864
+     * @param integer $xfIndex The XF format index
863 865
      * @param mixed $calculatedValue Calculated value
864 866
      *
865 867
      * @return int
@@ -2339,8 +2341,8 @@  discard block
 block discarded – undo
2339 2341
      * @param mixed $bitmap The bitmap filename or GD-image resource
2340 2342
      * @param int $x the horizontal position (offset) of the image inside the cell
2341 2343
      * @param int $y the vertical position (offset) of the image inside the cell
2342
-     * @param float $scale_x The horizontal scale
2343
-     * @param float $scale_y The vertical scale
2344
+     * @param integer $scale_x The horizontal scale
2345
+     * @param integer $scale_y The vertical scale
2344 2346
      */
2345 2347
     public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)
2346 2348
     {
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.