Merge pull request #8123 from atm-florian/7.0

fix warning class declaration
This commit is contained in:
Laurent Destailleur 2018-02-03 16:33:39 +01:00 committed by GitHub
commit fa3f06aaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,11 +122,10 @@ abstract class ModeleNumRefExpenseReport
/**
* Renvoie prochaine valeur attribuee
*
* @param Societe $objsoc Object thirdparty
* @param Object $object Object we need next value for
* @return string Valeur
*/
function getNextValue($objsoc,$object)
function getNextValue($object)
{
global $langs;
return $langs->trans("NotAvailable");
@ -148,4 +147,4 @@ abstract class ModeleNumRefExpenseReport
if ($this->version) return $this->version;
return $langs->trans("NotAvailable");
}
}
}