We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The function hasFlags() in the FlagBag class can be simplified. We can call the hasBits() function:
hasFlags()
FlagBag
hasBits()
public function hasFlags(\BackedEnum ...$flags): bool { $bits = static::encodeBits(array_map(static fn (\BackedEnum $flag) => $flag->value, $flags)); return $this->hasBits($bits); }
Activity