Try to fix fatal PHP error

This commit is contained in:
Laurent Destailleur 2024-08-17 22:47:59 +02:00
parent 75ed925f06
commit 4f93bc7d09
2 changed files with 2 additions and 3 deletions

View file

@ -85,6 +85,7 @@ abstract class CommonNumRefGenerator
*/
public $prefixIsRequired;
/** Return model name
*
* @param Translate $langs Object langs

View file

@ -93,7 +93,7 @@ abstract class ModeleThirdPartyCode extends CommonNumRefGenerator
* @param int<-1,2> $type Type of third party (1:customer, 2:supplier, -1:autodetect)
* @return string Return string example
*/
abstract public function getExample($langs = null, $objsoc = '', $type = -1);
//abstract public function getExample($langs = null, $objsoc = '', $type = -1);
/**
@ -150,8 +150,6 @@ abstract class ModeleThirdPartyCode extends CommonNumRefGenerator
*/
public function getToolTip($langs, $soc, $type)
{
global $conf;
$langs->loadLangs(array("admin", "companies"));
$strikestart = '';