Merge pull request #27512 from frederic34/patch-7

fix phpstan
This commit is contained in:
Laurent Destailleur 2024-01-14 21:59:21 +01:00 committed by GitHub
commit ac6e8c8cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,11 +214,11 @@ class ExpenseReportRule extends CommonObject
* Return all rules or filtered by something
*
* @param int $fk_c_type_fees type of expense
* @param integer $date date of expense
* @param int|string $date date of expense
* @param int $fk_user user of expense
* @return array Array with ExpenseReportRule
*/
public function getAllRule($fk_c_type_fees = '', $date = '', $fk_user = '')
public function getAllRule($fk_c_type_fees = 0, $date = '', $fk_user = 0)
{
$rules = array();