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 28c8927 commit f1e129fCopy full SHA for f1e129f
app/util/Strs.php
@@ -20,7 +20,7 @@ class Strs {
20
* @return string
21
*/
22
public static function uuid(): string {
23
- $charId = md5(uniqid(mt_rand(), true));
+ $charId = md5(uniqid(strval(mt_rand()), true));
24
$hyphen = chr(45);
25
$uuid = chr(123)
26
. substr($charId, 0, 8) . $hyphen
0 commit comments