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 (bin/phpstan analyse e2e/only-files-not-analysed-trait/src/Foo.php e2e/only-files-not-a...

succeeded Aug 21, 2025 in 17s