Skip to content

Strip the final-by-keyword override from the declaring class before comparing a method's return type with $this - #6941

Merged
VincentLanglet merged 2 commits into
phpstan:2.3.xfrom
phpstan-bot:create-pull-request/patch-f3agoxc
Nov 4, 2026
Merged

VincentLanglet merged 2 commits into
phpstan:2.3.xfrom
phpstan-bot:create-pull-request/patch-f3agoxc

Explain why the static-returning method call is still reported in the…

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