Skip to content

Commit

Permalink
qual: phpstan for htdocs/compta/paiement/class/paiement.class.php
Browse files Browse the repository at this point in the history
htdocs/compta/paiement/class/paiement.class.php	115	PHPDoc type array of property Paiement::$multicurrency_tx is not covariant with PHPDoc type array|float of overridden property CommonObject::$multicurrency_tx.

htdocs/compta/paiement/class/paiement.class.php	120	PHPDoc type array of property Paiement::$multicurrency_code is not covariant with PHPDoc type array|string of overridden property CommonObject::$multicurrency_code.
  • Loading branch information
thibdrev authored Mar 7, 2024
1 parent c66f7d6 commit eac3522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/commonobject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,13 @@ abstract class CommonObject
public $fk_multicurrency;

/**
* @var string|array<int,string> Multicurrency code
* @var string|string[] Multicurrency code
* Or, just for the Paiement object, an array: invoice ID => currency code for that invoice.
*/
public $multicurrency_code;

/**
* @var float|array<int,float> Multicurrency rate ("tx" = "taux" in French)
* @var float|float[] Multicurrency rate ("tx" = "taux" in French)
* Or, just for the Paiement object, an array: invoice ID => currency rate for that invoice.
*/
public $multicurrency_tx;
Expand Down

0 comments on commit eac3522

Please sign in to comment.