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://psalm.dev/r/845866d4c7
In:
fix_button.parentNode.removeChild(fix_button);
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php /** * @psalm-type Base = array{hello: string} * @psalm-type Extended = string|int */ class Foo { /** * @param Base $arg * @return Base&array{num: float|int} */ public function bar( $arg ) { $arg['num'] = rand( 0, 100 ) * rand( 0, 100 ) / rand( 0, 100 ); return $arg; } }
Psalm output (using commit 106b986): No issues!
Sorry, something went wrong.
No branches or pull requests
https://psalm.dev/r/845866d4c7
In:
The text was updated successfully, but these errors were encountered: