Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Oct 21, 2025

at first I thought this would fix a sprintf() PHP 7.4 only error.. but it didn't .. still a good type improvement IMO


/**
* @return list<string>
* @return list<non-empty-string>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

analog Type->getObjectClassNames()

@ondrejmirtes ondrejmirtes merged commit bdc429c into phpstan:2.1.x Oct 21, 2025
543 of 553 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the narrow branch October 21, 2025 07:46
@staabm staabm mentioned this pull request Oct 27, 2025
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.

2 participants