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/env-int-key env 1=1 ../../bin/phpstan analyse test.php )

succeeded Aug 21, 2025 in 17s