Merge pull request #27914 from thibdrev/patch-6
qual: phpstan for htdocs/expensereport/class/expensereport.class.php
This commit is contained in:
commit
705b4fa3f9
1 changed files with 2 additions and 2 deletions
|
|
@ -499,7 +499,7 @@ class ExpenseReport extends CommonObject
|
|||
// Clear fields
|
||||
$this->fk_user_creat = $user->id;
|
||||
$this->fk_user_author = $fk_user_author; // Note fk_user_author is not the 'author' but the guy the expense report is for.
|
||||
$this->fk_user_valid = '';
|
||||
$this->fk_user_valid = 0;
|
||||
$this->date_create = '';
|
||||
$this->date_creation = '';
|
||||
$this->date_validation = '';
|
||||
|
|
@ -1653,7 +1653,7 @@ class ExpenseReport extends CommonObject
|
|||
/**
|
||||
* Return next reference of expense report not already used
|
||||
*
|
||||
* @return string free ref
|
||||
* @return string|int<-2,-1> free ref, or <0 if error
|
||||
*/
|
||||
public function getNextNumRef()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue