diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index e725c4682..ed850ac64 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -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'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index 18f614ade..8495d7530 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -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'],