Skip to content

fix: Convert phpdoc union types to strict types - #6

Merged
acoulton merged 2 commits into
mainfrom
fix-union-types
Apr 17, 2026
Merged

fix: Convert phpdoc union types to strict types#6
acoulton merged 2 commits into
mainfrom
fix-union-types

Conversation

@acoulton

Copy link
Copy Markdown
Member

The phpdoc to param / return / property type rectors were not processing union types (e.g. string|null or int|false|string.

We should be able to convert these, assuming that we can resolve a strict type for all the types in the union.

The phpdoc to param / return / property type rectors were not
processing union types (e.g. `string|null` or `int|false|string`.

We should be able to convert these, assuming that we can resolve
a strict type for all the types in the union.
@acoulton
acoulton merged commit 40bd9ba into main Apr 17, 2026
3 checks passed
@acoulton
acoulton deleted the fix-union-types branch April 17, 2026 21:56
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.

1 participant