Skip to content

Fix get_object_vars() return type#4629

Merged
ondrejmirtes merged 3 commits intophpstan:2.1.xfrom
Triplkrypl:2.1.x
Feb 9, 2026
Merged

Fix get_object_vars() return type#4629
ondrejmirtes merged 3 commits intophpstan:2.1.xfrom
Triplkrypl:2.1.x

Conversation

@Triplkrypl
Copy link
Contributor

I created new pull request for: #4580 because i can not update source branch.

@staabm
Copy link
Contributor

staabm commented Dec 12, 2025

Please add a test in the tests/PHPStan/Analyser/nsrt
directory asserting the type of the example of your issue.

For inspiration see other files in this folder. Just adding a new file with a assertType() should do

@ondrejmirtes ondrejmirtes merged commit 748ad67 into phpstan:2.1.x Feb 9, 2026
635 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.

3 participants