1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Update return type for xdebug_get_profiler_filename()

Returns false when profiler is not active, string otherwise
This commit is contained in:
ssnepenthe 2021-09-14 13:45:23 -07:00
parent 6f1d43813f
commit 655c000009
2 changed files with 2 additions and 2 deletions

View File

@ -15455,7 +15455,7 @@ return [
'xdebug_get_function_stack' => ['array', 'message='=>'string', 'options='=>'int'], 'xdebug_get_function_stack' => ['array', 'message='=>'string', 'options='=>'int'],
'xdebug_get_headers' => ['array'], 'xdebug_get_headers' => ['array'],
'xdebug_get_monitored_functions' => ['array'], 'xdebug_get_monitored_functions' => ['array'],
'xdebug_get_profiler_filename' => ['string'], 'xdebug_get_profiler_filename' => ['string|false'],
'xdebug_get_stack_depth' => ['int'], 'xdebug_get_stack_depth' => ['int'],
'xdebug_get_tracefile_name' => ['string'], 'xdebug_get_tracefile_name' => ['string'],
'xdebug_is_debugger_active' => ['bool'], 'xdebug_is_debugger_active' => ['bool'],

View File

@ -16294,7 +16294,7 @@ return [
'xdebug_get_function_stack' => ['array', 'message='=>'string', 'options='=>'int'], 'xdebug_get_function_stack' => ['array', 'message='=>'string', 'options='=>'int'],
'xdebug_get_headers' => ['array'], 'xdebug_get_headers' => ['array'],
'xdebug_get_monitored_functions' => ['array'], 'xdebug_get_monitored_functions' => ['array'],
'xdebug_get_profiler_filename' => ['string'], 'xdebug_get_profiler_filename' => ['string|false'],
'xdebug_get_stack_depth' => ['int'], 'xdebug_get_stack_depth' => ['int'],
'xdebug_get_tracefile_name' => ['string'], 'xdebug_get_tracefile_name' => ['string'],
'xdebug_is_debugger_active' => ['bool'], 'xdebug_is_debugger_active' => ['bool'],