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

Tests with old PHPUnit (8.0, ubuntu-latest)

succeeded Aug 17, 2025 in 1m 56s