Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

typo #1789

Merged
merged 2 commits into from
Sep 17, 2019
Merged

typo #1789

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Faker/Provider/Uuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ class Uuid extends Base
*/
public static function uuid()
{
// fix for compatibility with 32bit architecture; seed range restricted to 62bit
// fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit
// two such calls will cause 64bits of randomness regardless of architecture
$seed = mt_rand(0, 2147483647) . '#' . mt_rand(0, 2147483647);

// Hash the seed and convert to a byte array
Expand Down