Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 0 for all bitmask types #6121

Merged
merged 1 commit into from
Jul 16, 2021
Merged

Allow 0 for all bitmask types #6121

merged 1 commit into from
Jul 16, 2021

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Jul 16, 2021

When function takes a bitmask of flags I expect to be able to turn them on and off individually. The way Psalm treated int-mask<self::FLAG_1, self::FLAG_2> effectively required to turn on at least one of the flags.

Fixes #6119

@weirdan weirdan requested review from muglug and orklah July 16, 2021 20:24
@weirdan weirdan merged commit 90687d7 into vimeo:master Jul 16, 2021
@weirdan weirdan deleted the fix-6119 branch July 16, 2021 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Argument 2 of ArrayIterator::__construct expects 1|2|3
2 participants