Skip to content

fix: Parameters with default null value are getting the nullability removed from the type (fixes rectorphp/argtyper#9) - #10

Merged
TomasVotruba merged 4 commits into
mainfrom
fix/issue-9-parameters-with-default-null-value-are-getting-the
Jun 2, 2026
Merged

TomasVotruba merged 4 commits into
mainfrom
fix/issue-9-parameters-with-default-null-value-are-getting-the

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Summary

Fixes #9 — Parameters with default null value are getting the nullability removed from the type

Root cause

See the commit message and diff for details of what was changed and why.

Testing

  • Test suite was run locally — see commit for details.

Opened automatically by bin/maintainer.php. Please review carefully before merging.

@TomasVotruba
TomasVotruba force-pushed the fix/issue-9-parameters-with-default-null-value-are-getting-the branch from ffae542 to 9f9c64d Compare June 2, 2026 21:00
@TomasVotruba
TomasVotruba merged commit 2e100eb into main Jun 2, 2026
8 of 9 checks passed
@TomasVotruba
TomasVotruba deleted the fix/issue-9-parameters-with-default-null-value-are-getting-the branch June 2, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Parameters with default null value are getting the nullability removed from the type

1 participant