1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

BigInteger: undo visibility changes

This commit is contained in:
terrafrost 2017-08-07 22:38:56 -05:00
parent ce5eb7e1c9
commit e7e30cd239
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ abstract class Base extends BCMath
* @param string $class
* @return \phpseclib\Math\BigInteger\Engines\BCMath
*/
public static function powModHelper(BCMath $x, BCMath $e, BCMath $n, $class)
protected static function powModHelper(BCMath $x, BCMath $e, BCMath $n, $class)
{
if (empty($e->value)) {
$temp = new $class();

View File

@ -80,7 +80,7 @@ abstract class Base extends PHP
* @param string $class
* @return \phpseclib\Math\BigInteger\Engines\PHP
*/
public static function powModHelper(PHP $x, PHP $e, PHP $n, $class)
protected static function powModHelper(PHP $x, PHP $e, PHP $n, $class)
{
if (empty($e->value)) {
$temp = new $class();