mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix PDOStatement::fetchObject() return type (#4682)
This commit is contained in:
parent
8155a5c7aa
commit
ec89cc623a
@ -9796,7 +9796,7 @@ return [
|
|||||||
'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'],
|
'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'],
|
||||||
'PDOStatement::fetchAll' => ['array|false', 'how='=>'int', 'fetch_argument='=>'int|string|callable', 'ctor_args='=>'?array'],
|
'PDOStatement::fetchAll' => ['array|false', 'how='=>'int', 'fetch_argument='=>'int|string|callable', 'ctor_args='=>'?array'],
|
||||||
'PDOStatement::fetchColumn' => ['string|int|float|bool|null', 'column_number='=>'int'],
|
'PDOStatement::fetchColumn' => ['string|int|float|bool|null', 'column_number='=>'int'],
|
||||||
'PDOStatement::fetchObject' => ['mixed|false', 'class_name='=>'string', 'ctor_args='=>'?array'],
|
'PDOStatement::fetchObject' => ['object|false', 'class_name='=>'string', 'ctor_args='=>'?array'],
|
||||||
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],
|
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],
|
||||||
'PDOStatement::getColumnMeta' => ['array|false', 'column'=>'int'],
|
'PDOStatement::getColumnMeta' => ['array|false', 'column'=>'int'],
|
||||||
'PDOStatement::nextRowset' => ['bool'],
|
'PDOStatement::nextRowset' => ['bool'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user