Qual: Fix getTooltipContentArray typing hints (#31081)

* Qual: Fix getTooltipContentArray typing hints

# Qual: Fix getTooltipContentArray typing hints

This defines the aray type for all getTooltipContentArray occurences

* Ignore undeclared property ref_supplier (does not exist on OrderLine)
This commit is contained in:
MDW
2024-09-23 03:24:19 +02:00
committed by GitHub
parent 03a1f0fcf8
commit 5e02bec9df
43 changed files with 109 additions and 136 deletions

View File

@@ -3763,9 +3763,9 @@ class Commande extends CommonOrder
/**
* getTooltipContentArray
*
* @param array $params params to construct tooltip data
* @return array
* @param array<string,mixed> $params params to construct tooltip data
* @since v18
* @return array{picto?:string,ref?:string,refsupplier?:string,label?:string,date?:string,date_echeance?:string,amountht?:string,total_ht?:string,totaltva?:string,amountlt1?:string,amountlt2?:string,amountrevenustamp?:string,totalttc?:string}|array{optimize:string}
*/
public function getTooltipContentArray($params)
{