We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://phpstan.org/r/c7ea9c80-2acb-49f2-90b9-46dafb4e5db9 It would be nice if the type of $match could be narrowed down to array{non-empty-string} in that case.
$match
array{non-empty-string}
Note that it works as expected when using a capturing group: https://phpstan.org/r/1128b5ab-20ae-4948-871f-682c58b664a2
No response
The text was updated successfully, but these errors were encountered:
/cc @staabm
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Feature request
https://phpstan.org/r/c7ea9c80-2acb-49f2-90b9-46dafb4e5db9
It would be nice if the type of
$match
could be narrowed down toarray{non-empty-string}
in that case.Note that it works as expected when using a capturing group: https://phpstan.org/r/1128b5ab-20ae-4948-871f-682c58b664a2
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: