Fix warnings
This commit is contained in:
parent
b3dd51b790
commit
cd8ebd9500
@ -127,7 +127,7 @@ abstract class CommonStickerGenerator
|
||||
/**
|
||||
* Output a sticker on page at position _COUNTX, _COUNTY (_COUNTX and _COUNTY start from 0)
|
||||
*
|
||||
* @param PDF $pdf PDF reference
|
||||
* @param TCPDF $pdf PDF reference
|
||||
* @param Translate $outputlangs Output langs
|
||||
* @param array $param Associative array containing label content and optional parameters
|
||||
* @return void
|
||||
@ -139,7 +139,7 @@ abstract class CommonStickerGenerator
|
||||
* Methode qui permet de modifier la taille des caracteres
|
||||
* Cela modiera aussi l'espace entre chaque ligne
|
||||
*
|
||||
* @param PDF $pdf PDF reference
|
||||
* @param TCPDF $pdf PDF reference
|
||||
* @param int $pt point
|
||||
* @return void
|
||||
*/
|
||||
@ -158,7 +158,7 @@ abstract class CommonStickerGenerator
|
||||
/**
|
||||
* protected Print dot line
|
||||
*
|
||||
* @param PDF $pdf PDF reference
|
||||
* @param TCPDF $pdf PDF reference
|
||||
* @param int $x1 X1
|
||||
* @param int $y1 Y1
|
||||
* @param int $x2 X2
|
||||
@ -201,7 +201,7 @@ abstract class CommonStickerGenerator
|
||||
/**
|
||||
* protected Function realisant une croix aux 4 coins des cartes
|
||||
*
|
||||
* @param PDF $pdf PDF reference
|
||||
* @param TCPDF $pdf PDF reference
|
||||
* @param int $x1 X1
|
||||
* @param int $y1 Y1
|
||||
* @param int $x2 X2
|
||||
@ -280,7 +280,7 @@ abstract class CommonStickerGenerator
|
||||
/**
|
||||
* protected Set format
|
||||
*
|
||||
* @param PDF $pdf PDF reference
|
||||
* @param TCPDF $pdf PDF reference
|
||||
* @param string $format Format
|
||||
* @return void
|
||||
*/
|
||||
|
||||
@ -84,8 +84,8 @@ function CreateXmlFooter()
|
||||
/**
|
||||
* SendError
|
||||
*
|
||||
* @param integer $number Number
|
||||
* @param unknown_type $text Text
|
||||
* @param integer $number Number
|
||||
* @param string $text Text
|
||||
* @return void
|
||||
*/
|
||||
function SendError($number, $text)
|
||||
|
||||
@ -579,10 +579,9 @@ class SupplierInvoices extends DolibarrApi
|
||||
*
|
||||
* @return object
|
||||
*
|
||||
* @throws 200
|
||||
* @throws 304
|
||||
* @throws 401
|
||||
* @throws 404
|
||||
* @throws RestException 401 Not allowed
|
||||
* @throws RestException 404 Not found
|
||||
* @throws RestException 304 Error
|
||||
*/
|
||||
public function putLine($id, $lineid, $request_data = null)
|
||||
{
|
||||
@ -640,10 +639,10 @@ class SupplierInvoices extends DolibarrApi
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws 400
|
||||
* @throws 401
|
||||
* @throws 404
|
||||
* @throws 405
|
||||
* @throws RestException 400 Bad parameters
|
||||
* @throws RestException 401 Not allowed
|
||||
* @throws RestException 404 Not found
|
||||
* @throws RestException 405 Error
|
||||
*/
|
||||
public function deleteLine($id, $lineid)
|
||||
{
|
||||
|
||||
@ -64,7 +64,8 @@ class MyModuleApi extends DolibarrApi
|
||||
*
|
||||
* @url GET myobjects/{id}
|
||||
*
|
||||
* @throws RestException
|
||||
* @throws RestException 401 Not allowed
|
||||
* @throws RestException 404 Not found
|
||||
*/
|
||||
public function get($id)
|
||||
{
|
||||
|
||||
@ -1139,7 +1139,7 @@ class pdf_standard_myobject extends ModelePDFMyObject
|
||||
/**
|
||||
* Show footer of page. Need this->emetteur object
|
||||
*
|
||||
* @param PDF $pdf PDF
|
||||
* @param TCPDF $pdf PDF
|
||||
* @param Object $object Object to show
|
||||
* @param Translate $outputlangs Object lang for output
|
||||
* @param int $hidefreetext 1=Hide free text
|
||||
|
||||
@ -1051,7 +1051,7 @@ class pdf_standard_recruitmentjobposition extends ModelePDFRecruitmentJobPositio
|
||||
/**
|
||||
* Show footer of page. Need this->emetteur object
|
||||
*
|
||||
* @param PDF $pdf PDF
|
||||
* @param TCPDF $pdf PDF
|
||||
* @param Object $object Object to show
|
||||
* @param Translate $outputlangs Object lang for output
|
||||
* @param int $hidefreetext 1=Hide free text
|
||||
|
||||
@ -503,7 +503,7 @@ function createProductOrService($authentication, $product)
|
||||
|
||||
if ($product['barcode'] && !$product['barcode_type'])
|
||||
{
|
||||
$errror++; $errorcode = 'KO'; $errorlabel = "You must set a barcode type when setting a barcode.";
|
||||
$error++; $errorcode = 'KO'; $errorlabel = "You must set a barcode type when setting a barcode.";
|
||||
}
|
||||
|
||||
|
||||
@ -675,7 +675,7 @@ function updateProductOrService($authentication, $product)
|
||||
|
||||
if ($product['barcode'] && !$product['barcode_type'])
|
||||
{
|
||||
$errror++; $errorcode = 'KO'; $errorlabel = "You must set a barcode type when setting a barcode.";
|
||||
$error++; $errorcode = 'KO'; $errorlabel = "You must set a barcode type when setting a barcode.";
|
||||
}
|
||||
|
||||
if (!$error)
|
||||
@ -841,8 +841,6 @@ function deleteProductOrService($authentication, $listofidstring)
|
||||
{
|
||||
global $db, $conf, $langs;
|
||||
|
||||
$now = dol_now();
|
||||
|
||||
dol_syslog("Function: deleteProductOrService login=".$authentication['login']);
|
||||
|
||||
if ($authentication['entity']) $conf->entity = $authentication['entity'];
|
||||
@ -936,8 +934,6 @@ function getListOfProductsOrServices($authentication, $filterproduct)
|
||||
{
|
||||
global $db, $conf, $langs;
|
||||
|
||||
$now = dol_now();
|
||||
|
||||
dol_syslog("Function: getListOfProductsOrServices login=".$authentication['login']);
|
||||
|
||||
if ($authentication['entity']) $conf->entity = $authentication['entity'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user