Merge branch '2.0'

* 2.0:
  small CS changes
This commit is contained in:
Andreas Fischer 2015-09-14 01:30:54 +02:00
commit 5745c8a5be
2 changed files with 1 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class Random
* @throws \RuntimeException if a symmetric cipher is needed but not loaded * @throws \RuntimeException if a symmetric cipher is needed but not loaded
* @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;
} }
} }