1
0
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:
Sergei Morozov 2021-03-04 21:08:42 -08:00 committed by GitHub
parent 4c65d3b424
commit 9bde1d9107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9883,7 +9883,7 @@ return [
'PDOStatement::errorInfo' => ['array'],
'PDOStatement::execute' => ['bool', 'params='=>'?array'],
'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::fetchObject' => ['object|false', 'class='=>'?string', 'ctorArgs='=>'?array'],
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],