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

E2E tests (cd e2e/baseline-uninit-prop-trait ../../bin/phpstan analyse --configuration test-no-ba...

succeeded Aug 21, 2025 in 25s