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

fix(unions): Filter out null type #1563

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

scyzoryck
Copy link
Collaborator

Q A
Bug fix? yes
New feature? no
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #1562
License MIT

In Parser the null is handled as a null type, not as a type. In result it returns wrong value in parser - this part needs to be refactored.

https://wiki.php.net/rfc/null-false-standalone-types

Let's filter out null type in the same way as we do in other parts of the TypedDriver.

@scyzoryck scyzoryck merged commit 362503d into schmittjoh:master Oct 31, 2024
17 of 18 checks passed
@scyzoryck scyzoryck deleted the fix-issue-1562 branch October 31, 2024 18:35
@goetas
Copy link
Collaborator

goetas commented Oct 31, 2024

good catch!

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.

2 participants