Specify length as a positive-int

This commit is contained in:
Ben Ramsey
2022-03-27 13:51:50 -05:00
parent 18688488e1
commit 2fad6c1107
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -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
*/