New method `evaluateGCD()` should stay private

This commit is contained in:
Adrien Crivelli 2017-12-03 17:20:45 +09:00
parent 3068fcfb12
commit 812a468844
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class MathTrig
return Functions::VALUE();
}
public static function evaluateGCD($a, $b)
private static function evaluateGCD($a, $b)
{
return $b ? self::evaluateGCD($b, $a % $b) : $a;
}