mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-19 16:01:33 +01:00
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
@@ -42,7 +42,6 @@ abstract class Stats
|
|||||||
* @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 $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 $startmonth month of the fiscal year start min 1 max 12 ; if 1 = january
|
* @param int $startmonth month of the fiscal year start min 1 max 12 ; if 1 = january
|
||||||
* @return array Array of values
|
* @return array Array of values
|
||||||
|
|
||||||
*/
|
*/
|
||||||
public function getNbByMonthWithPrevYear($endyear, $startyear, $cachedelay = 0, $format = 0, $startmonth = 1)
|
public function getNbByMonthWithPrevYear($endyear, $startyear, $cachedelay = 0, $format = 0, $startmonth = 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -943,7 +943,6 @@ function monthArray($outputlangs, $short = 0)
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Return array of week numbers.
|
* Return array of week numbers.
|
||||||
|
|
||||||
*
|
*
|
||||||
* @param int $month Month number
|
* @param int $month Month number
|
||||||
* @param int $year Year number
|
* @param int $year Year number
|
||||||
@@ -961,7 +960,6 @@ function getWeekNumbersOfMonth($month, $year)
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Return array of first day of weeks.
|
* Return array of first day of weeks.
|
||||||
|
|
||||||
*
|
*
|
||||||
* @param array $TWeek array of week numbers
|
* @param array $TWeek array of week numbers
|
||||||
* @param int $year Year number
|
* @param int $year Year number
|
||||||
@@ -978,7 +976,6 @@ function getFirstDayOfEachWeek($TWeek, $year)
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Return array of last day of weeks.
|
* Return array of last day of weeks.
|
||||||
|
|
||||||
*
|
*
|
||||||
* @param array $TWeek array of week numbers
|
* @param array $TWeek array of week numbers
|
||||||
* @param int $year Year number
|
* @param int $year Year number
|
||||||
@@ -994,7 +991,6 @@ function getLastDayOfEachWeek($TWeek, $year)
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Return week number.
|
* Return week number.
|
||||||
|
|
||||||
*
|
*
|
||||||
* @param int $day Day number
|
* @param int $day Day number
|
||||||
* @param int $month Month number
|
* @param int $month Month number
|
||||||
|
|||||||
Reference in New Issue
Block a user