Standardize and update code

This commit is contained in:
Philippe GRAND 2018-09-20 09:17:25 +02:00
parent 46d7385c54
commit 1adc4bad9e
3 changed files with 12 additions and 4 deletions

View File

@ -44,7 +44,11 @@ class doc_generic_invoice_odt extends ModelePDFFactures
*/ */
public $emetteur; // Objet societe qui emet public $emetteur; // Objet societe qui emet
public $phpmin = array(5,4,0); // Minimum version of PHP required by module /**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 4);
/** /**
* Dolibarr version of the loaded document * Dolibarr version of the loaded document

View File

@ -42,7 +42,11 @@ class doc_generic_product_odt extends ModelePDFProduct
*/ */
public $emetteur; public $emetteur;
public $phpmin = array(5,4,0); // Minimum version of PHP required by module /**
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
public $phpmin = array(5, 4);
/** /**
* Dolibarr version of the loaded document * Dolibarr version of the loaded document