Fix phpcs

This commit is contained in:
Laurent Destailleur 2021-05-20 15:30:33 +02:00
parent eb0f4d9765
commit 625aab34d6
3 changed files with 3 additions and 3 deletions

View File

@ -1645,7 +1645,7 @@ class Product extends CommonObject
$testExit = array('multiprices','multiprices_ttc','multiprices_base_type','multiprices_min','multiprices_min_ttc','multiprices_tva_tx','multiprices_recuperableonly');
foreach ($testExit as $field){
foreach ($testExit as $field) {
if (!isset($this->$field[$level])) {
return array();
}

View File

@ -3363,7 +3363,7 @@ class Societe extends CommonObject
* @param int $counter Counter to protect against infinite loops
* @return int <0 if KO, 0 if OK or 1 if at some level a parent company was the child to compare to
*/
public function validateFamilyTree($idparent, $idchild, $counter = 0)
public function validateFamilyTree($idparent, $idchild, $counter = 0)
{
if ($counter > 100) {
dol_syslog("Too high level of parent - child for company. May be an infinite loop ?", LOG_WARNING);