Skip to content

Narrow offsets for lists with HasOffsetType/HasOffsetValueType - #3905

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

ondrejmirtes merged 2 commits into
phpstan:2.1.xfrom
staabm:b12605

Conversation

@staabm

@staabm staabm commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes
ondrejmirtes merged commit 194ba99 into phpstan:2.1.x Mar 28, 2025
@ondrejmirtes

Copy link
Copy Markdown
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