htdocs/fourn/class/fournisseur.facture.class.php 204 PHPDoc type float|int of property FactureFournisseur::$total_ht is not covariant with PHPDoc type float of overridden property CommonObject::$total_ht.
htdocs/fourn/class/fournisseur.facture.class.php 206 PHPDoc type float|int of property FactureFournisseur::$total_tva is not covariant with PHPDoc type float of overridden property CommonObject::$total_tva.
htdocs/fourn/class/fournisseur.facture.class.php 208 PHPDoc type float|int of property FactureFournisseur::$total_localtax1 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax1.
htdocs/fourn/class/fournisseur.facture.class.php 210 PHPDoc type float|int of property FactureFournisseur::$total_localtax2 is not covariant with PHPDoc type float of overridden property CommonObject::$total_localtax2.
htdocs/fourn/class/fournisseur.facture.class.php 212 PHPDoc type float|int of property FactureFournisseur::$total_ttc is not covariant with PHPDoc type float of overridden property CommonObject::$total_ttc.
htdocs/fourn/class/fournisseur.facture.class.php 1204 Property FactureFournisseur::$author (int) does not accept string.
Hello Eldy, I just made the changes you asked me for. I have carried out the appropriate checks to verify that everything is working correctly.
All the best
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
# Fix $mybool |=... which is binary op, not boolean op
This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||