mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
[ibm_db2] Update some return types in callmaps
This commit is contained in:
parent
2315c98a73
commit
abc48b5077
@ -1406,7 +1406,7 @@ return [
|
||||
'DateTimeZone::getTransitions' => ['list<array{ts: int, time: string, offset: int, isdst: bool, abbr: string}>|false', 'timestamp_begin='=>'int', 'timestamp_end='=>'int'],
|
||||
'DateTimeZone::listAbbreviations' => ['array<string, list<array{dst: bool, offset: int, timezone_id: string|null}>>'],
|
||||
'DateTimeZone::listIdentifiers' => ['list<string>', 'timezoneGroup='=>'int', 'countryCode='=>'string|null'],
|
||||
'db2_autocommit' => ['mixed', 'connection'=>'resource', 'value='=>'int'],
|
||||
'db2_autocommit' => ['int|bool', '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' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_close' => ['bool', 'connection'=>'resource'],
|
||||
@ -1436,11 +1436,11 @@ return [
|
||||
'db2_free_result' => ['bool', 'stmt'=>'resource'],
|
||||
'db2_free_stmt' => ['bool', 'stmt'=>'resource'],
|
||||
'db2_get_option' => ['string|false', 'resource'=>'resource', 'option'=>'string'],
|
||||
'db2_last_insert_id' => ['string', 'resource'=>'resource'],
|
||||
'db2_last_insert_id' => ['string|null', 'resource'=>'resource'],
|
||||
'db2_lob_read' => ['string|false', 'stmt'=>'resource', 'colnum'=>'int', 'length'=>'int'],
|
||||
'db2_next_result' => ['resource|false', 'stmt'=>'resource'],
|
||||
'db2_num_fields' => ['int|false', 'stmt'=>'resource'],
|
||||
'db2_num_rows' => ['int', 'stmt'=>'resource'],
|
||||
'db2_num_rows' => ['int|false', 'stmt'=>'resource'],
|
||||
'db2_pclose' => ['bool', 'resource'=>'resource'],
|
||||
'db2_pconnect' => ['resource|false', 'database'=>'string', 'username'=>'string', 'password'=>'string', 'options='=>'array'],
|
||||
'db2_prepare' => ['resource|false', 'connection'=>'resource', 'statement'=>'string', 'options='=>'array'],
|
||||
|
@ -9852,7 +9852,7 @@ return [
|
||||
'datefmt_set_lenient' => ['void', 'formatter'=>'IntlDateFormatter', 'lenient'=>'bool'],
|
||||
'datefmt_set_pattern' => ['bool', 'formatter'=>'IntlDateFormatter', 'pattern'=>'string'],
|
||||
'datefmt_set_timezone' => ['false|null', 'formatter'=>'IntlDateFormatter', 'timezone'=>'IntlTimeZone|DateTimeZone|string|null'],
|
||||
'db2_autocommit' => ['mixed', 'connection'=>'resource', 'value='=>'int'],
|
||||
'db2_autocommit' => ['int|bool', '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' => ['stdClass|false', 'connection'=>'resource'],
|
||||
'db2_close' => ['bool', 'connection'=>'resource'],
|
||||
@ -9882,11 +9882,11 @@ return [
|
||||
'db2_free_result' => ['bool', 'stmt'=>'resource'],
|
||||
'db2_free_stmt' => ['bool', 'stmt'=>'resource'],
|
||||
'db2_get_option' => ['string|false', 'resource'=>'resource', 'option'=>'string'],
|
||||
'db2_last_insert_id' => ['string', 'resource'=>'resource'],
|
||||
'db2_last_insert_id' => ['string|null', 'resource'=>'resource'],
|
||||
'db2_lob_read' => ['string|false', 'stmt'=>'resource', 'colnum'=>'int', 'length'=>'int'],
|
||||
'db2_next_result' => ['resource|false', 'stmt'=>'resource'],
|
||||
'db2_num_fields' => ['int|false', 'stmt'=>'resource'],
|
||||
'db2_num_rows' => ['int', 'stmt'=>'resource'],
|
||||
'db2_num_rows' => ['int|false', 'stmt'=>'resource'],
|
||||
'db2_pclose' => ['bool', 'resource'=>'resource'],
|
||||
'db2_pconnect' => ['resource|false', 'database'=>'string', 'username'=>'string', 'password'=>'string', 'options='=>'array'],
|
||||
'db2_prepare' => ['resource|false', 'connection'=>'resource', 'statement'=>'string', 'options='=>'array'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user