qual: phpstan for htdocs/compta/deplacement/class/deplacementstats.class.php (#28149)

htdocs/compta/deplacement/class/deplacementstats.class.php	101	Parameter #1 $year (string) of method DeplacementStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()
This commit is contained in:
thibdrev 2024-02-13 11:30:48 +01:00 committed by GitHub
parent 82faea5167
commit 8ea879a80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,9 +94,9 @@ class DeplacementStats extends Stats
/**
* Renvoie le nombre de facture par mois pour une annee donnee
*
* @param string $year Year to scan
* @param int $year Year to scan
* @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 array Array of values
* @return array Array of values
*/
public function getNbByMonth($year, $format = 0)
{