mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Instances of object
returned by db2_*()
functions are always instances of stdClass
This commit is contained in:
parent
fc01b5ddb8
commit
1cd64fe6b8
@ -1408,7 +1408,7 @@ return [
|
||||
'DateTimeZone::listIdentifiers' => ['list<string>', 'timezoneGroup='=>'int', 'countryCode='=>'string|null'],
|
||||
'db2_autocommit' => ['mixed', 'connection'=>'resource', 'value='=>'int'],
|
||||
'db2_bind_param' => ['bool', 'stmt'=>'resource', 'parameter_number'=>'int', 'variable_name'=>'string', 'parameter_type='=>'int', 'data_type='=>'int', 'precision='=>'int', 'scale='=>'int'],
|
||||
'db2_client_info' => ['object|false', 'connection'=>'resource'],
|
||||
'db2_client_info' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_close' => ['bool', 'connection'=>'resource'],
|
||||
'db2_column_privileges' => ['resource|false', 'connection'=>'resource', 'qualifier='=>'string', 'schema='=>'string', 'table_name='=>'string', 'column_name='=>'string'],
|
||||
'db2_columns' => ['resource|false', 'connection'=>'resource', 'qualifier='=>'string', 'schema='=>'string', 'table_name='=>'string', 'column_name='=>'string'],
|
||||
@ -1423,7 +1423,7 @@ return [
|
||||
'db2_fetch_array' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_assoc' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_both' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_object' => ['object|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_object' => ['stdClass|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_row' => ['bool', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_field_display_size' => ['int|false', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
'db2_field_name' => ['string|false', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
@ -1451,7 +1451,7 @@ return [
|
||||
'db2_procedures' => ['resource|false', 'connection'=>'resource', 'qualifier'=>'string', 'schema'=>'string', 'procedure'=>'string'],
|
||||
'db2_result' => ['mixed', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
'db2_rollback' => ['bool', 'connection'=>'resource'],
|
||||
'db2_server_info' => ['object|false', 'connection'=>'resource'],
|
||||
'db2_server_info' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_set_option' => ['bool', 'resource'=>'resource', 'options'=>'array', 'type'=>'int'],
|
||||
'db2_setoption' => [''],
|
||||
'db2_special_columns' => ['resource|false', 'connection'=>'resource', 'qualifier'=>'string', 'schema'=>'string', 'table_name'=>'string', 'scope'=>'int'],
|
||||
|
@ -9854,7 +9854,7 @@ return [
|
||||
'datefmt_set_timezone' => ['false|null', 'formatter'=>'IntlDateFormatter', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'],
|
||||
'db2_autocommit' => ['mixed', 'connection'=>'resource', 'value='=>'int'],
|
||||
'db2_bind_param' => ['bool', 'stmt'=>'resource', 'parameter_number'=>'int', 'variable_name'=>'string', 'parameter_type='=>'int', 'data_type='=>'int', 'precision='=>'int', 'scale='=>'int'],
|
||||
'db2_client_info' => ['object|false', 'connection'=>'resource'],
|
||||
'db2_client_info' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_close' => ['bool', 'connection'=>'resource'],
|
||||
'db2_column_privileges' => ['resource|false', 'connection'=>'resource', 'qualifier='=>'string', 'schema='=>'string', 'table_name='=>'string', 'column_name='=>'string'],
|
||||
'db2_columns' => ['resource|false', 'connection'=>'resource', 'qualifier='=>'string', 'schema='=>'string', 'table_name='=>'string', 'column_name='=>'string'],
|
||||
@ -9869,7 +9869,7 @@ return [
|
||||
'db2_fetch_array' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_assoc' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_both' => ['array|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_object' => ['object|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_object' => ['stdClass|false', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_fetch_row' => ['bool', 'stmt'=>'resource', 'row_number='=>'int'],
|
||||
'db2_field_display_size' => ['int|false', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
'db2_field_name' => ['string|false', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
@ -9897,7 +9897,7 @@ return [
|
||||
'db2_procedures' => ['resource|false', 'connection'=>'resource', 'qualifier'=>'string', 'schema'=>'string', 'procedure'=>'string'],
|
||||
'db2_result' => ['mixed', 'stmt'=>'resource', 'column'=>'mixed'],
|
||||
'db2_rollback' => ['bool', 'connection'=>'resource'],
|
||||
'db2_server_info' => ['object|false', 'connection'=>'resource'],
|
||||
'db2_server_info' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_set_option' => ['bool', 'resource'=>'resource', 'options'=>'array', 'type'=>'int'],
|
||||
'db2_setoption' => [''],
|
||||
'db2_special_columns' => ['resource|false', 'connection'=>'resource', 'qualifier'=>'string', 'schema'=>'string', 'table_name'=>'string', 'scope'=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user