You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpdeclare(strict_types=1);
namespaceRepro;
class Conn extends \Doctrine\DBAL\Connection
{
}
Scanning files...
Analyzing files...
ERROR: MethodSignatureMismatch - src/Conn.php:6:7 - Argument 1 of Doctrine\DBAL\Connection::prepare has wrong type 'string', expecting '' as defined by Doctrine\DBAL\Driver\Connection::prepare (see https://psalm.dev/042)
class Conn extends \Doctrine\DBAL\Connection
------------------------------
1 errors found
------------------------------
Checks took 0.00 seconds and used 4.382MB of memory
No files analyzed
Psalm was unable to infer types in the codebase
Repro: https://github.com/zerkms/psalm-plugin-doctrine-issue-91
I cannot see anything particularly suspicious in the stub, so it also could be a psalm bug.
The text was updated successfully, but these errors were encountered: