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 https://psalm.dev/r/393eb25a8a
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php /** * @psalm-param array|callable():array $var */ function text(mixed $var): array { if (is_array($var)) { return $var; } /** @psalm-trace $var */ return call_user_func($var); }
Psalm output (using commit 16b24bd): INFO: MixedReturnStatement - 14:12 - Could not infer a return type INFO: Trace - 14:5 - $var: callable-object|callable-string
Sorry, something went wrong.
No branches or pull requests
See https://psalm.dev/r/393eb25a8a
The text was updated successfully, but these errors were encountered: