You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generated/gmp.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@
7
7
/**
8
8
* Calculates the binomial coefficient C(n, k).
9
9
*
10
-
* @param mixed $n Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number.
10
+
* @param \GMP|string|int $n Either a GMP number resource in PHP 5.5 and earlier, a GMP object in PHP 5.6 and later, or a numeric string provided that it is possible to convert the latter to a number.
11
11
* @param int $k
12
-
* @return \\GMP Returns the binomial coefficient C(n, k).
12
+
* @return \GMP Returns the binomial coefficient C(n, k).
13
13
* @throws GmpException
14
14
*
15
15
*/
@@ -34,7 +34,7 @@ function gmp_binomial($n, int $k): \GMP
0 commit comments