summaryrefslogtreecommitdiffstats
path: root/lib/private/security
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/security')
-rw-r--r--lib/private/security/securerandom.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/security/securerandom.php b/lib/private/security/securerandom.php
index 5cc69b92156..45cb3f17ee4 100644
--- a/lib/private/security/securerandom.php
+++ b/lib/private/security/securerandom.php
@@ -77,7 +77,7 @@ class SecureRandom implements ISecureRandom {
$randomString = '';
while($length > 0) {
- $randomNumber = random_int(0, $maxCharIndex);
+ $randomNumber = \random_int(0, $maxCharIndex);
$randomString .= $characters[$randomNumber];
$length--;
}