Completed
Push — develop ( 19fd27...90366f )
by
unknown
21:52
created
src/PhpSpreadsheet/Writer/Xls/Worksheet.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -622,7 +622,7 @@  discard block
 block discarded – undo
622 622
      * @param int $row Zero indexed row
623 623
      * @param int $col Zero indexed column
624 624
      * @param float $num The number to write
625
-     * @param mixed $xfIndex The optional XF format
625
+     * @param integer $xfIndex The optional XF format
626 626
      *
627 627
      * @return int
628 628
      */
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
      * @param int $row Zero indexed row
695 695
      * @param int $col Zero indexed column
696 696
      * @param string $str The string to write
697
-     * @param mixed $xfIndex The XF format index for the cell
697
+     * @param integer $xfIndex The XF format index for the cell
698 698
      *
699 699
      * @return int
700 700
      */
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
      *
731 731
      * @param int $row Zero indexed row
732 732
      * @param int $col Zero indexed column
733
-     * @param mixed $xfIndex The XF format index
733
+     * @param integer $xfIndex The XF format index
734 734
      */
735 735
     public function writeBlank($row, $col, $xfIndex)
736 736
     {
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
      * @param int $row Zero indexed row
778 778
      * @param int $col Zero indexed column
779 779
      * @param string $formula The formula text string
780
-     * @param mixed $xfIndex The XF format index
780
+     * @param integer $xfIndex The XF format index
781 781
      * @param mixed $calculatedValue Calculated value
782 782
      *
783 783
      * @return int
@@ -2205,8 +2205,8 @@  discard block
 block discarded – undo
2205 2205
      * @param mixed $bitmap The bitmap filename or GD-image resource
2206 2206
      * @param int $x the horizontal position (offset) of the image inside the cell
2207 2207
      * @param int $y the vertical position (offset) of the image inside the cell
2208
-     * @param float $scale_x The horizontal scale
2209
-     * @param float $scale_y The vertical scale
2208
+     * @param integer $scale_x The horizontal scale
2209
+     * @param integer $scale_y The vertical scale
2210 2210
      */
2211 2211
     public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)
2212 2212
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param string $unit Unit measure
16 16
      * @param string $paperSize Paper size
17 17
      *
18
-     * @return TCPDF implementation
18
+     * @return resource implementation
19 19
      */
20 20
     protected function createExternalWriterInstance($orientation, $unit, $paperSize)
21 21
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Cell/Coordinate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -948,7 +948,7 @@
 block discarded – undo
948 948
      *
949 949
      *    [ 'A1:A3' => 'x', 'A4' => 'y' ]
950 950
      *
951
-     * @param array $pCoordCollection associative array mapping coordinates to values
951
+     * @param DataValidation[] $pCoordCollection associative array mapping coordinates to values
952 952
      *
953 953
      * @return array associative array mapping coordinate ranges to valuea
954 954
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig.php 1 patch
Doc Comments   +18 added lines, -11 removed lines patch added patch discarded remove patch
@@ -10,6 +10,10 @@  discard block
 block discarded – undo
10 10
     //
11 11
     //    Private method to return an array of the factors of the input value
12 12
     //
13
+
14
+    /**
15
+     * @param double $value
16
+     */
13 17
     private static function factors($value)
14 18
     {
15 19
         $startVal = floor(sqrt($value));
@@ -33,6 +37,10 @@  discard block
 block discarded – undo
33 37
         return [(int) $value];
34 38
     }
35 39
 
40
+    /**
41
+     * @param integer $num
42
+     * @param integer $n
43
+     */
36 44
     private static function romanCut($num, $n)
37 45
     {
38 46
         return ($num - ($num % $n)) / $n;
@@ -312,6 +320,9 @@  discard block
 block discarded – undo
312 320
         return Functions::VALUE();
313 321
     }
314 322
 
323
+    /**
324
+     * @param integer $b
325
+     */
315 326
     public static function evaluateGCD($a, $b)
316 327
     {
317 328
         return $b ? self::evaluateGCD($b, $a % $b) : $a;
@@ -448,7 +459,7 @@  discard block
 block discarded – undo
448 459
      * @category Mathematical and Trigonometric Functions
449 460
      *
450 461
      * @param float $number The positive real number for which you want the logarithm
451
-     * @param float $base The base of the logarithm. If base is omitted, it is assumed to be 10.
462
+     * @param integer $base The base of the logarithm. If base is omitted, it is assumed to be 10.
452 463
      *
453 464
      * @return float
454 465
      */
@@ -766,8 +777,8 @@  discard block
 block discarded – undo
766 777
      *
767 778
      * Computes x raised to the power y.
768 779
      *
769
-     * @param float $x
770
-     * @param float $y
780
+     * @param integer $x
781
+     * @param integer $y
771 782
      *
772 783
      * @return float
773 784
      */
@@ -841,7 +852,7 @@  discard block
 block discarded – undo
841 852
      *
842 853
      * @param mixed ...$args Data values
843 854
      *
844
-     * @return float
855
+     * @return integer
845 856
      */
846 857
     public static function QUOTIENT(...$args)
847 858
     {
@@ -979,9 +990,6 @@  discard block
 block discarded – undo
979 990
      *
980 991
      * Returns the sum of a power series
981 992
      *
982
-     * @param float $x Input value to the power series
983
-     * @param float $n Initial power to which you want to raise $x
984
-     * @param float $m Step by which to increase $n for each term in the series
985 993
      * @param array of mixed Data Series
986 994
      *
987 995
      * @return float
@@ -1178,7 +1186,7 @@  discard block
 block discarded – undo
1178 1186
      * @param mixed $aArgs
1179 1187
      * @param mixed $sumArgs
1180 1188
      *
1181
-     * @return float
1189
+     * @return integer
1182 1190
      */
1183 1191
     public static function SUMIF($aArgs, $condition, $sumArgs = [])
1184 1192
     {
@@ -1218,9 +1226,8 @@  discard block
 block discarded – undo
1218 1226
      *    @category Mathematical and Trigonometric Functions
1219 1227
      *
1220 1228
      * @param mixed $args Data values
1221
-     * @param string $condition the criteria that defines which cells will be summed
1222 1229
      *
1223
-     * @return float
1230
+     * @return integer
1224 1231
      */
1225 1232
     public static function SUMIFS(...$args)
1226 1233
     {
@@ -1409,7 +1416,7 @@  discard block
 block discarded – undo
1409 1416
      *
1410 1417
      * Truncates value to the number of fractional digits by number_digits.
1411 1418
      *
1412
-     * @param float $value
1419
+     * @param integer $value
1413 1420
      * @param int $digits
1414 1421
      *
1415 1422
      * @return float Truncated value
Please login to merge, or discard this patch.