1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 12:44:38 +01:00

small CS changes

This commit is contained in:
terrafrost 2015-09-13 18:13:35 -05:00
parent 09ac065459
commit 8b8d7a5dcd
2 changed files with 1 additions and 2 deletions

View File

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

View File

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