1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix #77 with correct range param

This commit is contained in:
Matthew Brown 2017-01-29 00:24:55 -05:00
parent aaec895e15
commit fe803129cf

View File

@ -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'],