dolibarr/htdocs/expensereport/class
MDW 1e0f368d6a
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:16 +01:00
..
api_expensereports.class.php Fix hasRights into hasRight 2024-03-19 22:02:42 +01:00
expensereport_ik.class.php Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
expensereport_rule.class.php Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
expensereport.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:16 +01:00
expensereportstats.class.php fix phpdoc 2024-03-12 21:55:40 +01:00
paymentexpensereport.class.php fix phan 2024-03-17 13:21:34 +01:00