qual: phpstan for htdocs/compta/sociales/class/paymentsocialcontribution.class.php
htdocs/compta/sociales/class/paymentsocialcontribution.class.php 535 Property PaymentSocialContribution::$fk_charge (int) does not accept string. htdocs/compta/sociales/class/paymentsocialcontribution.class.php 540 Property PaymentSocialContribution::$fk_typepaiement (int) does not accept string. htdocs/compta/sociales/class/paymentsocialcontribution.class.php 544 Property PaymentSocialContribution::$fk_bank (int) does not accept string. htdocs/compta/sociales/class/paymentsocialcontribution.class.php 545 Property PaymentSocialContribution::$fk_user_creat (int) does not accept string. htdocs/compta/sociales/class/paymentsocialcontribution.class.php 546 Property PaymentSocialContribution::$fk_user_modif (int) does not accept string.
This commit is contained in:
parent
c451526d2a
commit
b151bc16bb
1 changed files with 5 additions and 6 deletions
|
|
@ -531,19 +531,18 @@ class PaymentSocialContribution extends CommonObject
|
|||
public function initAsSpecimen()
|
||||
{
|
||||
$this->id = 0;
|
||||
|
||||
$this->fk_charge = '';
|
||||
$this->fk_charge = 0;
|
||||
$this->datec = '';
|
||||
$this->tms = '';
|
||||
$this->datep = '';
|
||||
$this->amount = '';
|
||||
$this->fk_typepaiement = '';
|
||||
$this->num_payment = '';
|
||||
$this->num_payment = 0;
|
||||
$this->note_private = '';
|
||||
$this->note_public = '';
|
||||
$this->fk_bank = '';
|
||||
$this->fk_user_creat = '';
|
||||
$this->fk_user_modif = '';
|
||||
$this->fk_bank = 0;
|
||||
$this->fk_user_creat = 0;
|
||||
$this->fk_user_modif = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue