mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-26 17:46:38 +03:00
Specify length as a positive-int
This commit is contained in:
@@ -22,7 +22,7 @@ interface RandomGeneratorInterface
|
||||
/**
|
||||
* Generates a string of randomized binary data
|
||||
*
|
||||
* @param int $length The number of bytes of random binary data to generate
|
||||
* @param positive-int $length The number of bytes of random binary data to generate
|
||||
*
|
||||
* @return string A binary string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user