Skip to content
Discussion options

You must be logged in to vote

Currently it's not, PHPStan will check each variadic argument against the same type. You can't declare any difference either, it'd need a new syntax, maybe a new PHPDoc tag.

But you can open a feature request to track this in the future 😊

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ondrejmirtes
Comment options

Answer selected by lisachenko
@lisachenko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants