Merge pull request #816 from terrafrost/small-tweaks

small CS changes

* terrafrost/small-tweaks:
  small CS changes
This commit is contained in:
Andreas Fischer 2015-09-14 01:30:54 +02:00
commit 2986ea9d6d
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;
} }
} }