diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-27 13:31:18 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-04-27 13:31:18 +0200 |
commit | d0363fe396e1a4703b3e510797a845e2f7359564 (patch) | |
tree | 98019e5bb3b3fb604cf4a0a658916c22c96d0832 | |
parent | 802f818c2770b8b52d050e8fbc7562295f995445 (diff) | |
download | nextcloud-server-d0363fe396e1a4703b3e510797a845e2f7359564.tar.gz nextcloud-server-d0363fe396e1a4703b3e510797a845e2f7359564.zip |
Fix type annotation
Obviously should be an int
-rw-r--r-- | lib/private/security/securerandom.php | 2 | ||||
-rw-r--r-- | lib/public/security/isecurerandom.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/security/securerandom.php b/lib/private/security/securerandom.php index 348d04c9ccc..409285fd098 100644 --- a/lib/private/security/securerandom.php +++ b/lib/private/security/securerandom.php @@ -76,7 +76,7 @@ class SecureRandom implements ISecureRandom { /** * 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 * specified all valid base64 characters are used. * @return string diff --git a/lib/public/security/isecurerandom.php b/lib/public/security/isecurerandom.php index 69e6ec21b13..cbe2d4e0d56 100644 --- a/lib/public/security/isecurerandom.php +++ b/lib/public/security/isecurerandom.php @@ -69,7 +69,7 @@ interface ISecureRandom { /** * 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 * specified all valid base64 characters are used. * @return string |