Skip to content

Commit

Permalink
qual: phpstan for htdocs/ticket/class/ticketstats.class.php (Dolibarr…
Browse files Browse the repository at this point in the history
…#27986)

htdocs/ticket/class/ticketstats.class.php	98	Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()
  • Loading branch information
thibdrev authored Feb 5, 2024
1 parent 1289cda commit b8fd3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ticket/class/ticketstats.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function getNbByYear()
/**
* Return the number of tickets per month for a given year
*
* @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
*/
Expand Down

0 comments on commit b8fd3d5

Please sign in to comment.