mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix PDOStatement::fetchAll() return type (#5317)
This commit is contained in:
parent
4c65d3b424
commit
9bde1d9107
@ -9883,7 +9883,7 @@ return [
|
|||||||
'PDOStatement::errorInfo' => ['array'],
|
'PDOStatement::errorInfo' => ['array'],
|
||||||
'PDOStatement::execute' => ['bool', 'params='=>'?array'],
|
'PDOStatement::execute' => ['bool', 'params='=>'?array'],
|
||||||
'PDOStatement::fetch' => ['mixed', 'mode='=>'int', 'cursorOrientation='=>'int', 'cursorOffset='=>'int'],
|
'PDOStatement::fetch' => ['mixed', 'mode='=>'int', 'cursorOrientation='=>'int', 'cursorOffset='=>'int'],
|
||||||
'PDOStatement::fetchAll' => ['array', 'mode='=>'int', '...args='=>'mixed'],
|
'PDOStatement::fetchAll' => ['array|false', 'mode='=>'int', '...args='=>'mixed'],
|
||||||
'PDOStatement::fetchColumn' => ['mixed', 'column='=>'int'],
|
'PDOStatement::fetchColumn' => ['mixed', 'column='=>'int'],
|
||||||
'PDOStatement::fetchObject' => ['object|false', 'class='=>'?string', 'ctorArgs='=>'?array'],
|
'PDOStatement::fetchObject' => ['object|false', 'class='=>'?string', 'ctorArgs='=>'?array'],
|
||||||
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],
|
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user