aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/driver/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/passwords/driver/helper.php')
-rw-r--r--phpBB/phpbb/passwords/driver/helper.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/phpbb/passwords/driver/helper.php b/phpBB/phpbb/passwords/driver/helper.php
index 77c8a87d06..4b8dc9a123 100644
--- a/phpBB/phpbb/passwords/driver/helper.php
+++ b/phpBB/phpbb/passwords/driver/helper.php
@@ -86,7 +86,8 @@ class helper
/**
* Return unique id
- * @param string $extra additional entropy
+ *
+ * @param string $extra Additional entropy
*
* @return string Unique id
*/
@@ -113,6 +114,8 @@ class helper
*
* @param int $length Salt length
* @param string $rand_seed Seed for random data (optional). For tests.
+ *
+ * @return string Random salt with specified length
*/
public function get_random_salt($length, $rand_seed = '/dev/urandom')
{