Skip to content

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types #22121

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types

Fix incorrect type inference for @phpstan-assert-if-true on $this with union types #22121

Annotations

1 error

Result cache E2E tests (cd e2e/bug-12606 export CONFIGTEST=test ../../bin/phpstan )

succeeded Aug 21, 2025 in 17s