qual: phpstan

htdocs/admin/expensereport_ik.php	66	Property ExpenseReportIk::$coef (float) does not accept array|string.
htdocs/admin/expensereport_ik.php	67	Property ExpenseReportIk::$ikoffset (float) does not accept array|string.
htdocs/admin/expensereport_ik.php	68	Property ExpenseReportIk::$fk_c_exp_tax_cat (int) does not accept array|string.
htdocs/admin/expensereport_ik.php	69	Property ExpenseReportIk::$fk_range (int) does not accept array|string.
This commit is contained in:
thibdrev 2024-01-22 12:21:38 +01:00 committed by GitHub
parent 0c9115e8b9
commit 3681fa7dad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,10 +39,10 @@ $error = 0;
$action = GETPOST('action', 'aZ09');
$id = GETPOST('id', 'int');
$ikoffset = GETPOST('ikoffset', 'int');
$coef = GETPOST('coef', 'int');
$fk_c_exp_tax_cat = GETPOST('fk_c_exp_tax_cat');
$fk_range = GETPOST('fk_range', 'int');
$ikoffset = (float) GETPOST('ikoffset', 'int');
$coef = (float) GETPOST('coef', 'int');
$fk_c_exp_tax_cat = GETPOSTINT('fk_c_exp_tax_cat');
$fk_range = GETPOSTINT('fk_range');
$expIk = new ExpenseReportIk($db);