mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
small CS changes
This commit is contained in:
parent
09ac065459
commit
8b8d7a5dcd
@ -51,7 +51,7 @@ class Random
|
|||||||
* @param int $length
|
* @param int $length
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function string($length)
|
static function string($length)
|
||||||
{
|
{
|
||||||
if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
|
if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
|
||||||
try {
|
try {
|
||||||
|
@ -330,7 +330,6 @@ class BigInteger
|
|||||||
self::$max10 = 10000000;
|
self::$max10 = 10000000;
|
||||||
self::$max10Len = 7;
|
self::$max10Len = 7;
|
||||||
self::$maxDigit2 = pow(2, 52); // pow() prevents truncation
|
self::$maxDigit2 = pow(2, 52); // pow() prevents truncation
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user