mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix #1081 - allow PDO::prepare to return false
This commit is contained in:
parent
563eb3183b
commit
a4507b068e
@ -8851,7 +8851,7 @@ return [
|
||||
'PDO::pgsqlLOBCreate' => ['string'],
|
||||
'PDO::pgsqlLOBOpen' => ['resource', 'oid'=>'string', 'mode='=>'string'],
|
||||
'PDO::pgsqlLOBUnlink' => ['bool', 'oid'=>'string'],
|
||||
'PDO::prepare' => ['PDOStatement', 'statement'=>'string', 'options='=>'array'],
|
||||
'PDO::prepare' => ['PDOStatement|false', 'statement'=>'string', 'options='=>'array'],
|
||||
'PDO::query' => ['PDOStatement|false', 'sql'=>'string'],
|
||||
'PDO::query\'1' => ['PDOStatement|false', 'sql'=>'string', 'fetch_column'=>'int', 'colno'=>'int'],
|
||||
'PDO::query\'2' => ['PDOStatement|false', 'sql'=>'string', 'fetch_class'=>'int', 'classname'=>'string', 'ctorargs'=>'array'],
|
||||
|
Loading…
Reference in New Issue
Block a user