fix phpstan

This commit is contained in:
Frédéric France 2024-03-17 21:20:36 +01:00
parent d045b0c0b7
commit 17ea003a69
2 changed files with 20 additions and 3 deletions

View File

@ -113,14 +113,32 @@ class ExpenseReport extends CommonObject
*/
public $fk_statut;
/**
* @var int ID
*/
public $fk_c_paiement;
/**
* @var int ID
*/
public $modepaymentid;
public $paid;
// Paiement
/**
* @var string Firstname Lastname
*/
public $user_paid_infos;
/**
* @var string Firstname Lastname
*/
public $user_author_infos;
/**
* @var string Firstname Lastname
*/
public $user_validator_infos;
public $rule_warning_message;
@ -211,7 +229,7 @@ class ExpenseReport extends CommonObject
public $fk_user_valid;
/**
* @var int ID
* @var string Firstname Lastname
*/
public $user_valid_infos;

View File

@ -11,7 +11,7 @@
* Copyright (C) 2015-2016 Ferran Marcet <fmarcet@2byte.es>
* Copyright (C) 2017 Josep Lluís Amador <joseplluis@lliuretic.cat>
* Copyright (C) 2018-2022 Charlene Benke <charlene@patas-monkey.com>
* Copyright (C) 2018-2020 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr>
* Copyright (C) 2019-2023 Alexandre Spangaro <aspangaro@easya.solutions>
* Copyright (C) 2023 Nick Fragoulis
* Copyright (C) 2023 Joachim Kueter <git-jk@bloxera.com>
@ -1595,7 +1595,6 @@ while ($i < $imaxinloop) {
$facturestatic->alreadypaid = ($paiement ? $paiement : 0);
$facturestatic->paye = $obj->paye;
$facturestatic->socid = $thirdparty->getNomUrl(1, 'supplier', 3);
$facturestatic->date = $db->jdate($obj->datef);