From 812a468844fd0d22e4304989769a4190c1ab2598 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sun, 3 Dec 2017 17:20:45 +0900 Subject: [PATCH] New method `evaluateGCD()` should stay private --- src/PhpSpreadsheet/Calculation/MathTrig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Calculation/MathTrig.php b/src/PhpSpreadsheet/Calculation/MathTrig.php index 04bc0616..107a1a20 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig.php @@ -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; }