From 31763b3628d24f5e470cd1793d725cf28ffbcc30 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Thu, 30 Sep 2021 17:12:54 +0300 Subject: [PATCH] Fix fopen --- 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 1ee8284ad..4bdd02151 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -3313,7 +3313,7 @@ return [ 'flush' => ['void'], 'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'], 'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'], -'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], +'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource|null'], 'forward_static_call' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'], 'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list'], 'fpassthru' => ['int|false', 'stream'=>'resource'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index 8bd0c75a7..c9748bf16 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -10878,7 +10878,7 @@ return [ 'flush' => ['void'], 'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'], 'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'], - 'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], + 'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource|null'], 'forward_static_call' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'], 'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list'], 'fpassthru' => ['int|false', 'stream'=>'resource'],