We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14b8c36 + ca74619 commit 1202d1dCopy full SHA for 1202d1d
src/LaraFlake.php
@@ -45,7 +45,7 @@ public static function generateID()
45
/**
46
* Concatenate the final ID
47
*/
48
- $final_id = bindec($base) . bindec($shard_id) . bindec($random_part);
+ $final_id = bindec($base . $shard_id . $random_part);
49
50
* Return unique 64bit ID
51
0 commit comments