1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

All the ctype functions con take a string or an int

This commit is contained in:
Matthew Brown 2018-03-05 23:19:04 -05:00
parent 57bbdc8034
commit 123f70fc52

View File

@ -942,16 +942,16 @@ return [
'crc32' => ['int', 'str'=>'string'],
'create_function' => ['string', 'args'=>'string', 'code'=>'string'],
'crypt' => ['string', 'str'=>'string', 'salt='=>'string'],
'ctype_alnum' => ['bool', 'c'=>'string'],
'ctype_alpha' => ['bool', 'c'=>'string'],
'ctype_cntrl' => ['bool', 'c'=>'string'],
'ctype_digit' => ['bool', 'c'=>'string'],
'ctype_graph' => ['bool', 'c'=>'string'],
'ctype_lower' => ['bool', 'c'=>'string'],
'ctype_print' => ['bool', 'c'=>'string'],
'ctype_punct' => ['bool', 'c'=>'string'],
'ctype_space' => ['bool', 'c'=>'string'],
'ctype_upper' => ['bool', 'c'=>'string'],
'ctype_alnum' => ['bool', 'c'=>'string|int'],
'ctype_alpha' => ['bool', 'c'=>'string|int'],
'ctype_cntrl' => ['bool', 'c'=>'string|int'],
'ctype_digit' => ['bool', 'c'=>'string|int'],
'ctype_graph' => ['bool', 'c'=>'string|int'],
'ctype_lower' => ['bool', 'c'=>'string|int'],
'ctype_print' => ['bool', 'c'=>'string|int'],
'ctype_punct' => ['bool', 'c'=>'string|int'],
'ctype_space' => ['bool', 'c'=>'string|int'],
'ctype_upper' => ['bool', 'c'=>'string|int'],
'ctype_xdigit' => ['bool', 'c'=>'string'],
'cubrid_affected_rows' => ['int', 'req_identifier='=>''],
'cubrid_bind' => ['bool', 'req_identifier'=>'resource', 'bind_param'=>'int', 'bind_value'=>'mixed', 'bind_value_type='=>'string'],