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
See this snippet :
https://phpstan.org/r/22d5c620-be98-4970-af82-b8d25d04822b
array_column with null indexing does not seem to be reported as list.
array_column
Am I missing something ?
The text was updated successfully, but these errors were encountered:
The return type extension does not handle explicit NullType and implicit null` the same. See https://github.com/phpstan/phpstan-src/blob/2.1.13/src/Type/Php/ArrayColumnFunctionReturnTypeExtension.php#L45
NullType and implicit
But that should be an easy fix, I'll open a PR.
Sorry, something went wrong.
array_column()
$index_key
Successfully merging a pull request may close this issue.
See this snippet :
https://phpstan.org/r/22d5c620-be98-4970-af82-b8d25d04822b
array_column
with null indexing does not seem to be reported as list.Am I missing something ?
The text was updated successfully, but these errors were encountered: