@ -224,7 +224,7 @@ class MyModelQuery extends ActiveQuery
$bitFlagsConditions[] = "$bitFlag & $mask = $res";
}
return new Expression(implode('and', $bitFlagsConditions));
return new Expression(implode(' and ', $bitFlagsConditions));
```