mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 09:54:10 +00:00
Fixed methods visibility
This commit is contained in:
parent
d13f429b77
commit
6f36c49baa
@ -60,7 +60,7 @@ abstract class Base extends BCMath
|
|||||||
* @param string $class
|
* @param string $class
|
||||||
* @return \phpseclib\Math\BigInteger\Engines\BCMath
|
* @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)) {
|
if (empty($e->value)) {
|
||||||
$temp = new $class();
|
$temp = new $class();
|
||||||
|
Loading…
Reference in New Issue
Block a user