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/634c35d072
Psalm complains when comparing the return value to false. But the method can return false: https://www.php.net/manual/en/sqlite3result.columnname.php
false
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php function getColumnName(SQLite3Result $result, int $index): string { $name = $result->columnName($index); if ($name === false) { throw new \OutOfBoundsException("Invalid index $index."); } return $name; }
Psalm output (using commit 16b24bd): ERROR: TypeDoesNotContainType - 6:9 - string does not contain false
Sorry, something went wrong.
This snippet shows how this method can return false: https://3v4l.org/0mQHi
No branches or pull requests
https://psalm.dev/r/634c35d072
Psalm complains when comparing the return value to
false
. But the method can return false: https://www.php.net/manual/en/sqlite3result.columnname.phpThe text was updated successfully, but these errors were encountered: