mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
refine abs return type
This commit is contained in:
parent
8bc71fcf85
commit
9f918a8314
@ -87,7 +87,7 @@ namespace Phan\Language\Internal;
|
||||
return [
|
||||
'_' => ['string', 'message'=>'string'],
|
||||
'__halt_compiler' => ['void'],
|
||||
'abs' => ['int', 'num'=>'int'],
|
||||
'abs' => ['0|positive-int', 'num'=>'int'],
|
||||
'abs\'1' => ['float', 'num'=>'float'],
|
||||
'abs\'2' => ['numeric', 'num'=>'numeric'],
|
||||
'accelerator_get_configuration' => ['array'],
|
||||
|
@ -9427,7 +9427,7 @@ return [
|
||||
'ZookeeperConfig::set' => ['void', 'members'=>'string', 'version='=>'int', 'stat='=>'array'],
|
||||
'_' => ['string', 'message'=>'string'],
|
||||
'__halt_compiler' => ['void'],
|
||||
'abs' => ['int', 'num'=>'int'],
|
||||
'abs' => ['0|positive-int', 'num'=>'int'],
|
||||
'abs\'1' => ['float', 'num'=>'float'],
|
||||
'abs\'2' => ['numeric', 'num'=>'numeric'],
|
||||
'accelerator_get_configuration' => ['array'],
|
||||
|
Loading…
Reference in New Issue
Block a user