mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
qual: phpstan for htdocs/societe/paymentmodes.php
htdocs/societe/paymentmodes.php 170 Property Account::$courant (int) does not accept array|string. htdocs/societe/paymentmodes.php 171 Property Account::$clos (int) does not accept array|string. htdocs/societe/paymentmodes.php 300 Property Account::$courant (int) does not accept array|string. htdocs/societe/paymentmodes.php 301 Property Account::$clos (int) does not accept array|string.
This commit is contained in:
parent
22b42d8b81
commit
b4ad9045da
|
|
@ -167,8 +167,8 @@ if (empty($reshook)) {
|
|||
|
||||
$companybankaccount->bank = GETPOST('bank', 'alpha');
|
||||
$companybankaccount->label = GETPOST('label', 'alpha');
|
||||
$companybankaccount->courant = GETPOST('courant', 'alpha');
|
||||
$companybankaccount->clos = GETPOST('clos', 'alpha');
|
||||
$companybankaccount->courant = GETPOSTINT('courant');
|
||||
$companybankaccount->clos = GETPOSTINT('clos');
|
||||
$companybankaccount->code_banque = GETPOST('code_banque', 'alpha');
|
||||
$companybankaccount->code_guichet = GETPOST('code_guichet', 'alpha');
|
||||
$companybankaccount->number = GETPOST('number', 'alpha');
|
||||
|
|
@ -297,8 +297,8 @@ if (empty($reshook)) {
|
|||
|
||||
$companybankaccount->bank = GETPOST('bank', 'alpha');
|
||||
$companybankaccount->label = GETPOST('label', 'alpha');
|
||||
$companybankaccount->courant = GETPOST('courant', 'alpha');
|
||||
$companybankaccount->clos = GETPOST('clos', 'alpha');
|
||||
$companybankaccount->courant = GETPOSTINT('courant');
|
||||
$companybankaccount->clos = GETPOSTINT('clos');
|
||||
$companybankaccount->code_banque = GETPOST('code_banque', 'alpha');
|
||||
$companybankaccount->code_guichet = GETPOST('code_guichet', 'alpha');
|
||||
$companybankaccount->number = GETPOST('number', 'alpha');
|
||||
|
|
@ -311,8 +311,8 @@ if (empty($reshook)) {
|
|||
$companybankaccount->frstrecur = GETPOST('frstrecur', 'alpha');
|
||||
$companybankaccount->rum = GETPOST('rum', 'alpha');
|
||||
$companybankaccount->date_rum = dol_mktime(0, 0, 0, GETPOST('date_rummonth', 'int'), GETPOST('date_rumday', 'int'), GETPOST('date_rumyear', 'int'));
|
||||
$companybankaccount->datec = dol_now();
|
||||
$companybankaccount->status = 1;
|
||||
$companybankaccount->datec = dol_now();
|
||||
$companybankaccount->status = 1;
|
||||
|
||||
$companybankaccount->bank = trim($companybankaccount->bank);
|
||||
if (empty($companybankaccount->bank) && !empty($companybankaccount->thirdparty)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user