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.
2 parents 17ea3a7 + fe315db commit b930259Copy full SHA for b930259
src/Request.php
@@ -282,6 +282,6 @@ public function buildSignature(
282
*/
283
public static function generateNonce(): string
284
{
285
- return md5(microtime() . random_int());
+ return md5(microtime() . random_int(PHP_INT_MIN, PHP_INT_MAX));
286
}
287
tests/mocks.php
@@ -15,7 +15,7 @@ function microtime()
15
return 'FAKE_MICROTIME';
16
17
18
-function random_int()
+function random_int($_min, $_max)
19
20
return 123_456_789;
21
0 commit comments