Fix default value for parameter to be compatible with PHP

This commit is contained in:
Maxim.Kolmakov 2019-06-14 15:20:01 +02:00
parent a3dbcf570b
commit 88faead694
1 changed files with 2 additions and 2 deletions

View File

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