v1.0
What's Changed
- Finally tagged v1.0! π
pick()now only supportsarrayandCollection, and$count = 1still returnsarrayorCollection. This is to make the behaviour more consistent, and it didn't make much sense to pick multiple random characters from a string.single()replacespickOne()and is used to pick a single item from an array, string, or Collection.- Added some parameter hints to make the code more readable.
- Added PHP 8.4 into testing versions list.
Full Changelog: v0.6...v1.0