Merge pull request #21704 from owncloud/fix-namespace-issue
Fix usage of PHP method within namespace
This commit is contained in:
commit
4d037b76b4
|
@ -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--;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue