Fix type annotation

Obviously should be an int
This commit is contained in:
Lukas Reschke 2015-04-27 13:31:18 +02:00
parent 802f818c27
commit d0363fe396
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ class SecureRandom implements ISecureRandom {
/** /**
* Generate a random string of specified length. * Generate a random string of specified length.
* @param string $length The length of the generated string * @param int $length The length of the generated string
* @param string $characters An optional list of characters to use if no characterlist is * @param string $characters An optional list of characters to use if no characterlist is
* specified all valid base64 characters are used. * specified all valid base64 characters are used.
* @return string * @return string

View File

@ -69,7 +69,7 @@ interface ISecureRandom {
/** /**
* Generate a random string of specified length. * Generate a random string of specified length.
* @param string $length The length of the generated string * @param int $length The length of the generated string
* @param string $characters An optional list of characters to use if no characterlist is * @param string $characters An optional list of characters to use if no characterlist is
* specified all valid base64 characters are used. * specified all valid base64 characters are used.
* @return string * @return string