Skip to content

[PHPStan] Add PreferGenericTemplateOnReturnedUnionParamRule to spot hidden generics - #8638

Merged
TomasVotruba merged 4 commits into
mainfrom
phpstan-hidden-generic-return-rule
Oct 12, 2026
Merged

TomasVotruba merged 4 commits into
mainfrom
phpstan-hidden-generic-return-rule

rename rule to NarrowReturnToUnionParamRule, suggest explicit union r…

dd582dc
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 notice
duplicated_code
succeeded Oct 12, 2026 in 26s