Skip to content

Use position-specific getOffsetValueType() instead of getIterableValueType() when intersecting two ConstantArrayTypes#5468

Merged
VincentLanglet merged 6 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-wmmuk2l
Apr 15, 2026
Merged

Use position-specific getOffsetValueType() instead of getIterableValueType() when intersecting two ConstantArrayTypes#5468
VincentLanglet merged 6 commits into
phpstan:2.1.xfrom
phpstan-bot:create-pull-request/patch-wmmuk2l

Add test cases for int-range and non-empty-string intersection types

1189a06
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

1 warning
Octoscan
succeeded Apr 15, 2026 in 26s