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

Nullable union types #14

Open
colinodell opened this issue Jun 20, 2021 · 1 comment
Open

Nullable union types #14

colinodell opened this issue Jun 20, 2021 · 1 comment
Assignees

Comments

@colinodell
Copy link
Member

Currently, this standard requires ?Class in 7.4 and Class|null in 8.0. I don't like using |null in places where ? would work fine, so let's change that if we can.

@colinodell colinodell self-assigned this Jun 20, 2021
@GarrettAlbright
Copy link

Yes please. Foo|null looks silly.

I looked into doing this myself. I think removing <property name="shortNullable" value="no" /> is the first step (or change the "no" to a "yes" if we want to go back to requiring the ?Foo syntax), but I'm unclear what to do next to build the rules.

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

No branches or pull requests

2 participants