From 2e51a9a8a7b5bb9cbf157fb6638d7d3cf23483a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20S=C5=82owik?= Date: Fri, 17 Sep 2021 16:46:27 +0200 Subject: [PATCH] Permit null user_agent to get_browser() --- dictionaries/CallMap.php | 2 +- dictionaries/CallMap_historical.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index e79788206..109e9f747 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -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'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index 50d2b2d45..952eee2d7 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -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'],