dolibarr/htdocs/contrat/class
MDW 6a14a8304d
Fix $mybool |=... which is binary op, not boolean op
# 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 ||
2024-03-21 13:45:10 +01:00
..
api_contracts.class.php Fix phpstan 2024-02-22 01:32:55 +01:00
contrat.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:10 +01:00