Merge pull request #21261 from Quatadah/dolicloud-qnasdami-scrutinizer-010

BUG FIX : changing function name to the exisiting one (3)
This commit is contained in:
Laurent Destailleur 2022-06-17 15:16:22 +02:00 committed by GitHub
commit 2d9dc38ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,13 @@ abstract class Stats
return $data;
}
/**
* @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
* @return int value
*/
protected abstract function getAmountByMonth($year, $format = 0);
/**
* Return amount of elements by month for several years.
* Criterias used to build request are defined into the constructor of parent class into xxx/class/xxxstats.class.php
@ -467,7 +474,6 @@ abstract class Stats
return $data;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
/**
* Return the amount per month for a given year