Skip to content

Commit 3c9b3f8

Browse files
BenMorelisfedorov
authored andcommitted
Add array shape for gmp_div_qr()
1 parent 4fe4ccc commit 3c9b3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gmp/gmp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function gmp_mul(GMP|string|int $num1, GMP|string|int $num2): GMP {}
136136
* See the <b>gmp_div_q</b> function for description
137137
* of the <i>round</i> argument.
138138
* </p>
139-
* @return array an array, with the first
139+
* @return array{resource|GMP, resource|GMP} an array, with the first
140140
* element being [n/d] (the integer result of the
141141
* division) and the second being (n - [n/d] * d)
142142
* (the remainder of the division).

0 commit comments

Comments
 (0)