mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
mixify parse_url return type until I can get a handle on it
This commit is contained in:
parent
c0c5966b4c
commit
5783611366
@ -3737,7 +3737,7 @@ return [
|
||||
'hashTableObj::remove' => ['int', 'key'=>'string'],
|
||||
'hashTableObj::set' => ['int', 'key'=>'string', 'value'=>'string'],
|
||||
'header' => ['void', 'header'=>'string', 'replace='=>'bool', 'http_response_code='=>'int'],
|
||||
'header_register_callback' => ['bool', 'callback'=>'callable():void'],
|
||||
'header_register_callback' => ['bool', 'callback'=>'callable(mixed...):void'],
|
||||
'header_remove' => ['void', 'name='=>'string'],
|
||||
'headers_list' => ['array'],
|
||||
'headers_sent' => ['bool', '&w_file='=>'string', '&w_line='=>'int'],
|
||||
@ -8069,7 +8069,7 @@ return [
|
||||
'parse_ini_file' => ['array|false', 'filename'=>'string', 'process_sections='=>'bool', 'scanner_mode='=>'int'],
|
||||
'parse_ini_string' => ['array|false', 'ini_string'=>'string', 'process_sections='=>'bool', 'scanner_mode='=>'int'],
|
||||
'parse_str' => ['void', 'encoded_string'=>'string', '&w_result='=>'array'],
|
||||
'parse_url' => ['array{scheme?:string,host?:string,port?:int,user?:string,pass?:string,path?:string,query?:string,fragment?:string}|string|int|null', 'url'=>'string', 'url_component='=>'int'],
|
||||
'parse_url' => ['mixed', 'url'=>'string', 'url_component='=>'int'],
|
||||
'ParseError::__clone' => ['void'],
|
||||
'ParseError::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'?Throwable|?ParseError'],
|
||||
'ParseError::__toString' => ['string'],
|
||||
@ -8099,7 +8099,7 @@ return [
|
||||
'pcntl_get_last_error' => ['int'],
|
||||
'pcntl_getpriority' => ['int', 'pid='=>'int', 'process_identifier='=>'int'],
|
||||
'pcntl_setpriority' => ['bool', 'priority'=>'int', 'pid='=>'int', 'process_identifier='=>'int'],
|
||||
'pcntl_signal' => ['bool', 'signo'=>'int', 'handle'=>'callable():void|callable(int):void|callable(int,array):void|int', 'restart_syscalls='=>'bool'],
|
||||
'pcntl_signal' => ['bool', 'signo'=>'int', 'handle'=>'callable(mixed...):void|callable(int):void|callable(int,array):void|int', 'restart_syscalls='=>'bool'],
|
||||
'pcntl_signal_dispatch' => ['bool'],
|
||||
'pcntl_signal_get_handler' => ['int|string', 'signo'=>'int'],
|
||||
'pcntl_sigprocmask' => ['bool', 'how'=>'int', 'set'=>'array', '&w_oldset='=>'array'],
|
||||
@ -9629,8 +9629,8 @@ return [
|
||||
'RegexIterator::setMode' => ['bool', 'new_mode'=>'int'],
|
||||
'RegexIterator::setPregFlags' => ['bool', 'new_flags'=>'int'],
|
||||
'register_event_handler' => ['bool', 'event_handler_func'=>'event_handler_func', 'handler_register_name'=>'handler_register_name', 'event_type_mask'=>'event_type_mask'],
|
||||
'register_shutdown_function' => ['void', 'function'=>'callable():void', '...parameter='=>'mixed'],
|
||||
'register_tick_function' => ['bool', 'function'=>'callable():void', '...args='=>'mixed'],
|
||||
'register_shutdown_function' => ['void', 'function'=>'callable(mixed...):void', '...parameter='=>'mixed'],
|
||||
'register_tick_function' => ['bool', 'function'=>'callable(mixed...):void', '...args='=>'mixed'],
|
||||
'rename' => ['bool', 'old_name'=>'string', 'new_name'=>'string', 'context='=>'resource'],
|
||||
'rename_function' => ['bool', 'original_name'=>'string', 'new_name'=>'string'],
|
||||
'reset' => ['mixed', '&rw_array_arg'=>'array'],
|
||||
|
Loading…
Reference in New Issue
Block a user