Fixed methods visibility

This commit is contained in:
Sokolovskyy Roman 2017-08-03 09:20:33 +02:00
parent d13f429b77
commit 6f36c49baa

View File

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