mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Change number return type to numeric
cc @TysonAndre
This commit is contained in:
parent
970ceab396
commit
1288915aba
@ -252,7 +252,7 @@ return [
|
||||
'array_shift' => ['mixed', '&rw_stack'=>'array'],
|
||||
'array_slice' => ['array', 'input'=>'array', 'offset'=>'int', 'length='=>'?int', 'preserve_keys='=>'bool'],
|
||||
'array_splice' => ['array', '&rw_input'=>'array', 'offset'=>'int', 'length='=>'int', 'replacement='=>'array|string'],
|
||||
'array_sum' => ['number', 'input'=>'array'],
|
||||
'array_sum' => ['numeric', 'input'=>'array'],
|
||||
'array_udiff' => ['array', 'arr1'=>'array', 'arr2'=>'array', 'data_comp_func'=>'callable'],
|
||||
'array_udiff\'1' => ['array', 'arr1'=>'array', 'arr2'=>'array', 'arr3'=>'array', 'arg4'=>'array|callable', '...rest='=>'array|callable'],
|
||||
'array_udiff_assoc' => ['array', 'arr1'=>'array', 'arr2'=>'array', 'key_comp_func'=>'callable'],
|
||||
@ -9017,7 +9017,7 @@ return [
|
||||
'stats_dens_t' => ['float', 'x'=>'float', 'dfr'=>'float'],
|
||||
'stats_dens_weibull' => ['float', 'x'=>'float', 'a'=>'float', 'b'=>'float'],
|
||||
'stats_den_uniform' => ['float', 'x'=>'float', 'a'=>'float', 'b'=>'float'],
|
||||
'stats_harmonic_mean' => ['number', 'a'=>'array'],
|
||||
'stats_harmonic_mean' => ['numeric', 'a'=>'array'],
|
||||
'stats_kurtosis' => ['float', 'a'=>'array'],
|
||||
'stats_rand_gen_beta' => ['float', 'a'=>'float', 'b'=>'float'],
|
||||
'stats_rand_gen_chisquare' => ['float', 'df'=>'float'],
|
||||
@ -9656,7 +9656,7 @@ return [
|
||||
'tmpfile' => ['resource'],
|
||||
'token_get_all' => ['array', 'source'=>'string', 'flags='=>'int'],
|
||||
'token_name' => ['string', 'type'=>'int'],
|
||||
'TokyoTyrant::add' => ['number', 'key'=>'string', 'increment'=>'float', 'type='=>'int'],
|
||||
'TokyoTyrant::add' => ['numeric', 'key'=>'string', 'increment'=>'float', 'type='=>'int'],
|
||||
'TokyoTyrant::connect' => ['TokyoTyrant', 'host'=>'string', 'port='=>'int', 'options='=>'array'],
|
||||
'TokyoTyrant::connectUri' => ['TokyoTyrant', 'uri'=>'string'],
|
||||
'TokyoTyrant::__construct' => ['void', 'host='=>'string', 'port='=>'int', 'options='=>'array'],
|
||||
@ -10659,7 +10659,7 @@ return [
|
||||
'Yar_Client::__call' => ['void', 'method'=>'string', 'parameters'=>'array'],
|
||||
'Yar_Client::__construct' => ['void', 'url'=>'string'],
|
||||
'Yar_Client_Exception::getType' => ['void'],
|
||||
'Yar_Client::setOpt' => ['bool', 'name'=>'number', 'value'=>'mixed'],
|
||||
'Yar_Client::setOpt' => ['bool', 'name'=>'numeric', 'value'=>'mixed'],
|
||||
'Yar_Concurrent_Client::call' => ['int', 'uri'=>'string', 'method'=>'string', 'parameters'=>'array', 'callback='=>'callable'],
|
||||
'Yar_Concurrent_Client::loop' => ['bool', 'callback='=>'callable', 'error_callback='=>'callable'],
|
||||
'Yar_Server::__construct' => ['void', 'obj'=>'Object'],
|
||||
|
Loading…
Reference in New Issue
Block a user