Closed oddnavy closed 5 years ago
Thank you for the pull request @oddnavy! It’ll be great if you can make the following minor edits:
alphabet
config value be null
Hashids()
constructor if we have a non-null $this->alphabet
valueNo worries @rungta. I've pushed some changes.
Only pass a third argument to the Hashids() constructor if we have a non-null $this->alphabet value
How would recommend doing ☝️
We needed to adjust the hashid config when working on a project. This PR adds the ability to change the hashid alphabet and min hash length