Merge pull request #27934 from thibdrev/patch-4
qual: phpstan for htdocs/don/class/paymentdonation.class.php
This commit is contained in:
commit
f72ff74d28
1 changed files with 5 additions and 5 deletions
|
|
@ -201,7 +201,7 @@ class PaymentDonation extends CommonObject
|
|||
$resql = $this->db->query($sql);
|
||||
if ($resql) {
|
||||
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX."payment_donation");
|
||||
$this->ref = $this->id;
|
||||
$this->ref = (string) $this->id;
|
||||
} else {
|
||||
$error++;
|
||||
}
|
||||
|
|
@ -544,7 +544,7 @@ class PaymentDonation extends CommonObject
|
|||
{
|
||||
$this->id = 0;
|
||||
|
||||
$this->fk_donation = '';
|
||||
$this->fk_donation = 0;
|
||||
$this->datec = '';
|
||||
$this->tms = '';
|
||||
$this->datep = '';
|
||||
|
|
@ -553,9 +553,9 @@ class PaymentDonation extends CommonObject
|
|||
$this->paymenttype = '';
|
||||
$this->num_payment = '';
|
||||
$this->note_public = '';
|
||||
$this->fk_bank = '';
|
||||
$this->fk_user_creat = '';
|
||||
$this->fk_user_modif = '';
|
||||
$this->fk_bank = 0;
|
||||
$this->fk_user_creat = dol_now();
|
||||
$this->fk_user_modif = dol_now();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue