Clean phan warnings

This commit is contained in:
Laurent Destailleur
2024-05-30 13:37:17 +02:00
parent da98b83dcf
commit 82908a30eb
91 changed files with 170 additions and 171 deletions

View File

@@ -407,9 +407,9 @@ class modService extends DolibarrModules
$this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p.barcode' => 'virtualproduct'));
}
$this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('pa.qty' => "subproduct", 'pa.incdec' => 'subproduct'));
$keyforselect = 'product'; // @phan-suppress-current-line PhanPluginRedundantAssignment
$keyforelement = 'product'; // @phan-suppress-current-line PhanPluginRedundantAssignment
$keyforaliasextra = 'extra'; // @phan-suppress-current-line PhanPluginRedundantAssignment
$keyforselect = 'product';
$keyforelement = 'product';
$keyforaliasextra = 'extra';
include DOL_DOCUMENT_ROOT.'/core/extrafieldsinexport.inc.php';
$this->export_fields_array[$r] = array_merge($this->export_fields_array[$r], array('p2.rowid' => "Id", 'p2.ref' => "Ref", 'p2.label' => "Label", 'p2.description' => "Description"));
$this->export_entities_array[$r] = array_merge($this->export_entities_array[$r], array('p2.rowid' => "subproduct", 'p2.ref' => "subproduct", 'p2.label' => "subproduct", 'p2.description' => "subproduct"));