mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
PDOStatement::fetchColumn() can return any scalar
This commit is contained in:
parent
50fc50fab0
commit
b486bd4c78
@ -9772,7 +9772,7 @@ return [
|
||||
'PDOStatement::execute' => ['bool', 'bound_input_params='=>'?array'],
|
||||
'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'],
|
||||
'PDOStatement::fetchAll' => ['array|false', 'how='=>'int', 'fetch_argument='=>'int|string|callable', 'ctor_args='=>'?array'],
|
||||
'PDOStatement::fetchColumn' => ['string|null|false', 'column_number='=>'int'],
|
||||
'PDOStatement::fetchColumn' => ['string|int|float|bool|null', 'column_number='=>'int'],
|
||||
'PDOStatement::fetchObject' => ['mixed|false', 'class_name='=>'string', 'ctor_args='=>'?array'],
|
||||
'PDOStatement::getAttribute' => ['mixed', 'attribute'=>'int'],
|
||||
'PDOStatement::getColumnMeta' => ['array|false', 'column'=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user