mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
Merge pull request #816 from terrafrost/small-tweaks
small CS changes * terrafrost/small-tweaks: small CS changes
This commit is contained in:
commit
2986ea9d6d
@ -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