[Pkg-owncloud-commits] [owncloud] 85/215: Fix type annotation
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit d0363fe396e1a4703b3e510797a845e2f7359564
Author: Lukas Reschke <lukas at owncloud.com>
Date: Mon Apr 27 13:31:18 2015 +0200
Fix type annotation
Obviously should be an int
---
lib/private/security/securerandom.php | 2 +-
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 348d04c..409285f 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 69e6ec2..cbe2d4e 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list