Fix default value for parameter to be compatible with PHP
This commit is contained in:
parent
a3dbcf570b
commit
88faead694
|
@ -721,10 +721,10 @@ class Rand {
|
|||
/**
|
||||
* Mixes bytes in $buf into PRNG state
|
||||
* @param string $buf
|
||||
* @param float $entropy
|
||||
* @param float $entropy [optional] The default value is (float) strlen($buf)
|
||||
* @return null
|
||||
*/
|
||||
public static function seed($buf, $entropy = (float) strlen($buf)) {}
|
||||
public static function seed($buf, $entropy) {}
|
||||
|
||||
/**
|
||||
* Cleans up PRNG state
|
||||
|
|
Loading…
Reference in New Issue