@@ -622,7 +622,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -15,7 +15,7 @@ |
||
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 | { |
@@ -948,7 +948,7 @@ |
||
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 | */ |
@@ -10,6 +10,10 @@ discard block |
||
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 |
||
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 |
||
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 | // As we're just working with two values, we can use the recursive Euclidian method |
317 | 328 | // If we were working with more than two values, we need to extend as |
@@ -454,7 +465,7 @@ discard block |
||
454 | 465 | * @category Mathematical and Trigonometric Functions |
455 | 466 | * |
456 | 467 | * @param float $number The positive real number for which you want the logarithm |
457 | - * @param float $base The base of the logarithm. If base is omitted, it is assumed to be 10. |
|
468 | + * @param integer $base The base of the logarithm. If base is omitted, it is assumed to be 10. |
|
458 | 469 | * |
459 | 470 | * @return float |
460 | 471 | */ |
@@ -772,8 +783,8 @@ discard block |
||
772 | 783 | * |
773 | 784 | * Computes x raised to the power y. |
774 | 785 | * |
775 | - * @param float $x |
|
776 | - * @param float $y |
|
786 | + * @param integer $x |
|
787 | + * @param integer $y |
|
777 | 788 | * |
778 | 789 | * @return float |
779 | 790 | */ |
@@ -847,7 +858,7 @@ discard block |
||
847 | 858 | * |
848 | 859 | * @param mixed ...$args Data values |
849 | 860 | * |
850 | - * @return float |
|
861 | + * @return integer |
|
851 | 862 | */ |
852 | 863 | public static function QUOTIENT(...$args) |
853 | 864 | { |
@@ -985,9 +996,6 @@ discard block |
||
985 | 996 | * |
986 | 997 | * Returns the sum of a power series |
987 | 998 | * |
988 | - * @param float $x Input value to the power series |
|
989 | - * @param float $n Initial power to which you want to raise $x |
|
990 | - * @param float $m Step by which to increase $n for each term in the series |
|
991 | 999 | * @param array of mixed Data Series |
992 | 1000 | * |
993 | 1001 | * @return float |
@@ -1184,7 +1192,7 @@ discard block |
||
1184 | 1192 | * @param mixed $aArgs |
1185 | 1193 | * @param mixed $sumArgs |
1186 | 1194 | * |
1187 | - * @return float |
|
1195 | + * @return integer |
|
1188 | 1196 | */ |
1189 | 1197 | public static function SUMIF($aArgs, $condition, $sumArgs = []) |
1190 | 1198 | { |
@@ -1224,9 +1232,8 @@ discard block |
||
1224 | 1232 | * @category Mathematical and Trigonometric Functions |
1225 | 1233 | * |
1226 | 1234 | * @param mixed $args Data values |
1227 | - * @param string $condition the criteria that defines which cells will be summed |
|
1228 | 1235 | * |
1229 | - * @return float |
|
1236 | + * @return integer |
|
1230 | 1237 | */ |
1231 | 1238 | public static function SUMIFS(...$args) |
1232 | 1239 | { |
@@ -1415,7 +1422,7 @@ discard block |
||
1415 | 1422 | * |
1416 | 1423 | * Truncates value to the number of fractional digits by number_digits. |
1417 | 1424 | * |
1418 | - * @param float $value |
|
1425 | + * @param integer $value |
|
1419 | 1426 | * @param int $digits |
1420 | 1427 | * |
1421 | 1428 | * @return float Truncated value |