mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-03 06:43:23 +01:00
mark non camelCaps function
This commit is contained in:
@@ -48,17 +48,18 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
|
||||
* @param integer $maxfilenamelength Max length of value to show
|
||||
* @return array List of templates
|
||||
*/
|
||||
static function liste_modeles($db,$maxfilenamelength=0)
|
||||
// phpcs:ignore PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
|
||||
static function liste_modeles($db, $maxfilenamelength=0)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$type='order';
|
||||
$liste=array();
|
||||
$type = 'order';
|
||||
$list = array();
|
||||
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||
$liste=getListOfModels($db,$type,$maxfilenamelength);
|
||||
$list = getListOfModels($db, $type, $maxfilenamelength);
|
||||
|
||||
return $liste;
|
||||
return $list;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,4 +147,4 @@ abstract class ModeleNumRefCommandes
|
||||
if ($this->version) return $this->version;
|
||||
return $langs->trans("NotAvailable");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user