mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
can only be positive
This commit is contained in:
parent
26ae950085
commit
f04be62e8b
@ -3315,7 +3315,7 @@ return [
|
||||
'getopt' => ['array<string,string|false|list<string|false>>|false', 'short_options'=>'string', 'long_options='=>'array', '&w_rest_index='=>'int'],
|
||||
'getprotobyname' => ['int|false', 'protocol'=>'string'],
|
||||
'getprotobynumber' => ['string', 'protocol'=>'int'],
|
||||
'getrandmax' => ['int'],
|
||||
'getrandmax' => ['int<1, max>'],
|
||||
'getrusage' => ['array', 'mode='=>'int'],
|
||||
'getservbyname' => ['int|false', 'service'=>'string', 'protocol'=>'string'],
|
||||
'getservbyport' => ['string|false', 'port'=>'int', 'protocol'=>'string'],
|
||||
@ -7646,7 +7646,7 @@ return [
|
||||
'msql_query' => ['resource', 'query'=>'string', 'link_identifier='=>'?resource'],
|
||||
'msql_result' => ['string', 'result'=>'resource', 'row'=>'int', 'field='=>'mixed'],
|
||||
'msql_select_db' => ['bool', 'database_name'=>'string', 'link_identifier='=>'?resource'],
|
||||
'mt_getrandmax' => ['int'],
|
||||
'mt_getrandmax' => ['int<1, max>'],
|
||||
'mt_rand' => ['int', 'min'=>'int', 'max'=>'int'],
|
||||
'mt_rand\'1' => ['int'],
|
||||
'mt_srand' => ['void', 'seed='=>'?int', 'mode='=>'int'],
|
||||
|
@ -10679,7 +10679,7 @@ return [
|
||||
'getopt' => ['array<string,string|false|list<string|false>>|false', 'short_options'=>'string', 'long_options='=>'array'],
|
||||
'getprotobyname' => ['int|false', 'protocol'=>'string'],
|
||||
'getprotobynumber' => ['string', 'protocol'=>'int'],
|
||||
'getrandmax' => ['int'],
|
||||
'getrandmax' => ['int<1, max>'],
|
||||
'getrusage' => ['array', 'mode='=>'int'],
|
||||
'getservbyname' => ['int|false', 'service'=>'string', 'protocol'=>'string'],
|
||||
'getservbyport' => ['string|false', 'port'=>'int', 'protocol'=>'string'],
|
||||
@ -12488,7 +12488,7 @@ return [
|
||||
'msql_query' => ['resource', 'query'=>'string', 'link_identifier='=>'?resource'],
|
||||
'msql_result' => ['string', 'result'=>'resource', 'row'=>'int', 'field='=>'mixed'],
|
||||
'msql_select_db' => ['bool', 'database_name'=>'string', 'link_identifier='=>'?resource'],
|
||||
'mt_getrandmax' => ['int'],
|
||||
'mt_getrandmax' => ['int<1, max>'],
|
||||
'mt_rand' => ['int', 'min'=>'int', 'max'=>'int'],
|
||||
'mt_rand\'1' => ['int'],
|
||||
'mt_srand' => ['void', 'seed='=>'int', 'mode='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user