Skip to content

Commit aee5544

Browse files
staabmondrejmirtes
authored andcommitted
more precise func_* types
1 parent 884b922 commit aee5544

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3051,9 +3051,9 @@
30513051
'ftp_ssl_connect' => ['resource|false', 'host'=>'string', 'port='=>'int', 'timeout='=>'int'],
30523052
'ftp_systype' => ['string|false', 'stream'=>'resource'],
30533053
'ftruncate' => ['bool', 'fp'=>'resource', 'size'=>'int'],
3054-
'func_get_arg' => ['mixed', 'arg_num'=>'int'],
3054+
'func_get_arg' => ['mixed', 'arg_num'=>'0|positive-int'],
30553055
'func_get_args' => ['array'],
3056-
'func_num_args' => ['int'],
3056+
'func_num_args' => ['0|positive-int'],
30573057
'function_exists' => ['bool', 'function_name'=>'string'],
30583058
'fwrite' => ['int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'],
30593059
'gc_collect_cycles' => ['int'],

0 commit comments

Comments
 (0)