diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index aa183978c..0af09371d 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -7367,7 +7367,7 @@ return [ 'rand' => ['int', 'min'=>'int', 'max'=>'int'], 'random_bytes' => ['string', 'length'=>'int'], 'random_int' => ['int', 'min'=>'int', 'max'=>'int'], -'range' => ['array', 'low'=>'', 'high'=>'', 'step='=>'int'], +'range' => ['array', 'low'=>'', 'high'=>'', 'step='=>'int|float'], 'RangeException::__clone' => ['Throwable|Exception'], 'RangeException::__construct' => ['RangeException', 'message='=>'string', 'code='=>'int', 'previous='=>'Throwable|RangeException|null'], 'RangeException::getCode' => ['int'],