Skip to content

Conversation

@mspirkov
Copy link
Contributor

Fix: #328

I think it would be more correct to omit the void type, since the PHPDoc for it should always be either void or never.

@janedbal janedbal merged commit 5e29b47 into shipmonk-rnd:master Nov 27, 2025
26 checks passed
@janedbal
Copy link
Member

janedbal commented Dec 1, 2025

Thank you!

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.

ForbidPhpDocNullabilityMismatchWithNativeTypehintRule incorrectly handles void

2 participants