mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01:00
Add public keyword to Crypt\Random::string().
This commit is contained in:
parent
e52a3aff5a
commit
7b7e7d8de5
@ -42,9 +42,8 @@ class Random
|
||||
*
|
||||
* @param Integer $length
|
||||
* @return String
|
||||
* @access public
|
||||
*/
|
||||
static function string($length)
|
||||
public static function string($length)
|
||||
{
|
||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
||||
// method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call.
|
||||
|
Loading…
x
Reference in New Issue
Block a user