Skip to content

Conversation

@samsonasik
Copy link
Member

Fixes rectorphp/rector#9489

@staabm check only instanceof PHPStan\Type\Generic\GenericObjectType seems can handle it.

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @staabm

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it to have faster feedback to test ;)

@samsonasik samsonasik enabled auto-merge (squash) November 13, 2025 11:46
@samsonasik samsonasik merged commit 157504c into main Nov 13, 2025
54 checks passed
@samsonasik samsonasik deleted the skip-no-key branch November 13, 2025 11:47
@staabm
Copy link
Contributor

staabm commented Nov 13, 2025

looks good - 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 behavior of NarrowObjectReturnTypeRector

3 participants