1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Added more gc_status return fields

Fixes vimeo/psalm#10022
This commit is contained in:
Bruce Weirdan 2023-08-21 07:10:24 +02:00
parent 5c774aca47
commit 97fc480aca
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D
2 changed files with 2 additions and 2 deletions

View File

@ -2942,7 +2942,7 @@ return [
'gc_enable' => ['void'],
'gc_enabled' => ['bool'],
'gc_mem_caches' => ['int'],
'gc_status' => ['array{runs:int,collected:int,threshold:int,roots:int,running:bool,protected:bool,full:bool,buffer_size:int}'],
'gc_status' => ['array{runs:int,collected:int,threshold:int,roots:int,running:bool,protected:bool,full:bool,buffer_size:int,application_time:float,collector_time:float,destructor_time:float,free_time:float}'],
'gd_info' => ['array'],
'gearman_bugreport' => [''],
'gearman_client_add_options' => ['', 'client_object'=>'', 'option'=>''],

View File

@ -23,7 +23,7 @@ return [
'changed' => [
'gc_status' => [
'old' => ['array{runs:int,collected:int,threshold:int,roots:int}'],
'new' => ['array{runs:int,collected:int,threshold:int,roots:int,running:bool,protected:bool,full:bool,buffer_size:int}'],
'new' => ['array{runs:int,collected:int,threshold:int,roots:int,running:bool,protected:bool,full:bool,buffer_size:int,application_time:float,collector_time:float,destructor_time:float,free_time:float}'],
],
'srand' => [
'old' => ['void', 'seed='=>'int', 'mode='=>'int'],