Skip to content

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Oct 9, 2024

The return value of token_name() and PhpToken::getTokenName() is neither '' nor '0', so they can be typed more precisely.

refs phpstan/phpstan#11808, #3540

@ondrejmirtes ondrejmirtes merged commit 8dd41e9 into phpstan:1.12.x Oct 9, 2024
475 of 501 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.

2 participants