1
0
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:
Andreas Fischer 2014-12-07 00:31:54 +01:00
parent e52a3aff5a
commit 7b7e7d8de5

View File

@ -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.