We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e899d commit 0e13c39Copy full SHA for 0e13c39
src/Games/Gcd.php
@@ -7,7 +7,7 @@ function getRules(): string
7
8
function generateQuestion(): string
9
{
10
- if (rand(1, 3) === 1) {
+ if (random_int(1, 3) === 1) {
11
$base = random_int(2, 25);
12
$firstNumber = $base * random_int(2, 10);
13
$secondNumber = $base * random_int(2, 10);
0 commit comments