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
DOMDocument::loadXML()
We should probably annotate $source as non-empty-string so that Psalm would be able to catch it too.
$source
non-empty-string
Originally posted by @weirdan in #7036 (comment)
https://3v4l.org/en00b
https://psalm.dev/r/4bb02d8813
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php $d = new DOMDocument; $d->loadXML(''); // expected Psalm to warn about parameter accepting non-empty-string only
Psalm output (using commit d7d4b37): No issues!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
We should probably annotate
$source
asnon-empty-string
so that Psalm would be able to catch it too.Originally posted by @weirdan in #7036 (comment)
https://3v4l.org/en00b
https://psalm.dev/r/4bb02d8813
The text was updated successfully, but these errors were encountered: