Skip to content

Narrow offsets for lists with HasOffsetType/HasOffsetValueType#3905

Merged
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
staabm:b12605
Mar 28, 2025
Merged

Narrow offsets for lists with HasOffsetType/HasOffsetValueType#3905
ondrejmirtes merged 2 commits intophpstan:2.1.xfrom
staabm:b12605

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Mar 28, 2025

closes phpstan/phpstan#12605 by implementing the idea described in phpstan/phpstan#12605 (comment)

@staabm staabm marked this pull request as ready for review March 28, 2025 13:04
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 194ba99 into phpstan:2.1.x Mar 28, 2025
417 of 418 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect "Offset might not exist" on list<> when higher index does exist

3 participants