Browse Source

Fix type annotation

Obviously should be an int
remotes/origin/poc-doctrine-migrations
Lukas Reschke 11 years ago
parent
commit
d0363fe396
  1. 2
      lib/private/security/securerandom.php
  2. 2
      lib/public/security/isecurerandom.php

2
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

2
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

Loading…
Cancel
Save