Skip to content

Commit

Permalink
Improve types for range()
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-tekiela committed Mar 28, 2023
1 parent b908f44 commit c7f6071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9625,7 +9625,7 @@
'rand\'1' => ['int'],
'random_bytes' => ['non-empty-string', 'length'=>'positive-int'],
'random_int' => ['int', 'min'=>'int', 'max'=>'int'],
'range' => ['array', 'start'=>'mixed', 'end'=>'mixed', 'step='=>'int|float'],
'range' => ['non-empty-array', 'start'=>'string|int|float', 'end'=>'string|int|float', 'step='=>'int<1, max>|float'],
'RangeException::__clone' => ['void'],
'RangeException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'?Throwable'],
'RangeException::__toString' => ['string'],
Expand Down

0 comments on commit c7f6071

Please sign in to comment.