mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user