-
Notifications
You must be signed in to change notification settings - Fork 659
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
Mixed Coercion on lists #9049
Comments
I found these snippets: https://psalm.dev/r/ef00fa13a3<?php
/**
* @return list<string>
*/
function foo(){
/**
* @var list<mixed>
*/
return [];
}
https://psalm.dev/r/98e1649070<?php
/**
* @return array<string>
*/
function foo(){
/**
* @var array<mixed>
*/
return [];
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://psalm.dev/r/ef00fa13a3
Should raise the same issues as
https://psalm.dev/r/98e1649070
in order to be raised at level 1 instead of level 3
ping @danog
The text was updated successfully, but these errors were encountered: