Skip to content
Snippets Groups Projects
Commit afc487ef authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix phpcs

parent f993920d
No related branches found
No related tags found
No related merge requests found
......@@ -3235,7 +3235,7 @@ abstract class CommonObject
* @param int $hidedetails 1 to hide details. 0 by default
* @param int $hidedesc 1 to hide product description. 0 by default
* @param int $hideref 1 to hide product reference. 0 by default
* @return int 1 if OK -1 if not OK
* @return int 1 if OK -1 if KO
*/
protected function commonGenerateDocument($modelspath, $modele, $outputlangs, $hidedetails, $hidedesc, $hideref)
{
......
......@@ -143,13 +143,16 @@ abstract class ModelNumRefExpedition
}
/**
* Cree un bon d'expedition sur disque
* Create a document onto disk according to template module.
*
* @param DoliDB $db Objet base de donnee
* @param Object $object Object expedition
* @param string $modele Force le modele a utiliser ('' to not force)
* @param Translate $outputlangs Objet lang a utiliser pour traduction
* @return int <=0 if KO, >0 if OK
* @param int $hidedetails Hide details of lines
* @param int $hidedesc Hide description
* @param int $hideref Hide ref
* @return int 1 if OK -1 if KO
* @deprecated Use the new function generateDocument of Expedition class
*/
function expedition_pdf_create(DoliDB $db, Expedition $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
......
......@@ -1598,14 +1598,14 @@ class Expedition extends CommonObject
}
/**
* Create a document onto disk accordign to template module.
* Create a document onto disk according to template module.
*
* @param string $modele Force the model to using ('' to not force)
* @param Translate $outputlangs object lang to use for translations
* @param int $hidedetails Hide details of lines
* @param int $hidedesc Hide description
* @param int $hideref Hide ref
* @return int 0 if KO, 1 if OK
* @return int 1 if OK -1 if KO
*/
public function generateDocument($modele, $outputlangs,$hidedetails=0, $hidedesc=0, $hideref=0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment