From 10f2501ad25a22fd847fac657416b4b06ff5cfc5 Mon Sep 17 00:00:00 2001 From: Quatadah Nasdami Date: Thu, 23 Jun 2022 17:58:18 +0200 Subject: [PATCH] removing useless parameter in abstract method --- htdocs/core/class/stats.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/stats.class.php b/htdocs/core/class/stats.class.php index 38effddb586..7e870857251 100644 --- a/htdocs/core/class/stats.class.php +++ b/htdocs/core/class/stats.class.php @@ -220,11 +220,10 @@ abstract class Stats } /** - * @param int $year year number - * @param int $format 0=Label of abscissa is a translated text, 1=Label of abscissa is month number, 2=Label of abscissa is first letter of month + * @param int $year year number * @return int value */ - protected abstract function getAverageByMonth($year, $format = 0); + protected abstract function getAverageByMonth($year); /** * Return average of entity by month for several years