New method `evaluateGCD()` should stay private
This commit is contained in:
parent
3068fcfb12
commit
812a468844
|
@ -312,7 +312,7 @@ class MathTrig
|
||||||
return Functions::VALUE();
|
return Functions::VALUE();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function evaluateGCD($a, $b)
|
private static function evaluateGCD($a, $b)
|
||||||
{
|
{
|
||||||
return $b ? self::evaluateGCD($b, $a % $b) : $a;
|
return $b ? self::evaluateGCD($b, $a % $b) : $a;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue