Skip to content

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

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 #22101

E2E tests (bin/phpstan analyse -l 8 tests/e2e/anon-class/Granularity.php)

succeeded Aug 17, 2025 in 21s