dolibarr/htdocs/hrm/class
MDW 519da00897
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:35 +01:00
..
establishment.class.php Qual: set default value to match PHPdoc type 2024-03-11 23:46:49 +01:00
evaluation.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:26 +01:00
evaluationdet.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:28 +01:00
job.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:29 +01:00
position.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:30 +01:00
skill.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:32 +01:00
skilldet.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:33 +01:00
skillrank.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:35 +01:00