We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a32a99e commit 892a897Copy full SHA for 892a897
src/LaraFlake.php
@@ -60,7 +60,7 @@ public static function generateID()
60
/**
61
* Concatenate the final ID
62
*/
63
- $final_id = bindec($base . $shard_id . $random_part);
+ $final_id = bindec($base) . bindec($shard_id) . bindec($random_part);
64
65
66
* Return unique 64bit ID
0 commit comments