mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Permit null user_agent to get_browser()
This commit is contained in:
parent
b857d0b0f7
commit
2e51a9a8a7
@ -3702,7 +3702,7 @@ return [
|
||||
'GEOSWKTWriter::setOutputDimension' => ['void', 'dim'=>'int'],
|
||||
'GEOSWKTWriter::getOutputDimension' => ['int'],
|
||||
'GEOSWKTWriter::setOld3D' => ['void', 'val'=>'bool'],
|
||||
'get_browser' => ['array|object|false', 'user_agent='=>'string', 'return_array='=>'bool'],
|
||||
'get_browser' => ['array|object|false', 'user_agent='=>'?string', 'return_array='=>'bool'],
|
||||
'get_call_stack' => [''],
|
||||
'get_called_class' => ['class-string'],
|
||||
'get_cfg_var' => ['string|false', 'option'=>'string'],
|
||||
|
@ -10989,7 +10989,7 @@ return [
|
||||
'geoip_region_name_by_code' => ['string|false', 'country_code'=>'string', 'region_code'=>'string'],
|
||||
'geoip_setup_custom_directory' => ['void', 'path'=>'string'],
|
||||
'geoip_time_zone_by_country_and_region' => ['string|false', 'country_code'=>'string', 'region_code='=>'string'],
|
||||
'get_browser' => ['array|object|false', 'user_agent='=>'string', 'return_array='=>'bool'],
|
||||
'get_browser' => ['array|object|false', 'user_agent='=>'?string', 'return_array='=>'bool'],
|
||||
'get_call_stack' => [''],
|
||||
'get_called_class' => ['class-string'],
|
||||
'get_cfg_var' => ['string|false', 'option'=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user