Skip to content
New issue

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

It's already a list, no need to call array_values() #253

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

spaze
Copy link
Owner

@spaze spaze commented Feb 20, 2024

This is a new bleeding edge rule added in PHPStan 1.10.59 which resulted in "Parameter #1 $array (non-empty-list) of array_values is already a list, call has no effect."

This is a new bleeding edge rule added in PHPStan 1.10.59 which resulted in "Parameter #1 $array (non-empty-list<string>) of array_values is already a list, call has no effect."
@spaze spaze self-assigned this Feb 20, 2024
@spaze spaze merged commit d363d00 into main Feb 20, 2024
74 checks passed
@spaze spaze deleted the spaze/array-already-list branch February 20, 2024 21:17
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.

None yet

1 participant