Fix phpcs

This commit is contained in:
Laurent Destailleur 2018-04-29 20:18:50 +02:00
parent 0cdfd6800a
commit 2fc2c44de4
3 changed files with 3 additions and 3 deletions

View File

@ -395,7 +395,7 @@ class Account extends CommonObject
* @param string $emetteur Name of cheque writer
* @param string $banque Bank of cheque writer
* @param string $accountancycode When we record a free bank entry, we must provide accounting account if accountancy module is on.
* @param int $datevalue Date value
* @param int $datev Date value
* @return int Rowid of added entry, <0 if KO
*/
function addline($date, $oper, $label, $amount, $num_chq, $categorie, User $user, $emetteur='',$banque='', $accountancycode='', $datev=null)

View File

@ -6659,7 +6659,7 @@ abstract class CommonObject
}
$queryarray[$field] = serialize($this->{$field});
} else {
$queryarray[$field] = NULL;
$queryarray[$field] = null;
}
}
else if($this->isInt($info))

View File

@ -88,7 +88,7 @@ function tax_prepare_head(ChargeSociales $object)
* @param int $q Quarter
* @return array Array with details of VATs (per third parties), -1 if no accountancy module, -2 if not yet developped, -3 if error
*/
function tax_by_thirdparty($type='vat', $db, $y, $date_start, $date_end, $modetax, $direction, $m=0, $q=0)
function tax_by_thirdparty($type, $db, $y, $date_start, $date_end, $modetax, $direction, $m=0, $q=0)
{
global $conf;