Skip to content

Commit 0e13c39

Browse files
committed
missed 1 random_int in src/Games/Gcd.php
1 parent 58e899d commit 0e13c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Games/Gcd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function getRules(): string
77

88
function generateQuestion(): string
99
{
10-
if (rand(1, 3) === 1) {
10+
if (random_int(1, 3) === 1) {
1111
$base = random_int(2, 25);
1212
$firstNumber = $base * random_int(2, 10);
1313
$secondNumber = $base * random_int(2, 10);

0 commit comments

Comments
 (0)