mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
add random_int as stub, returns positive-int if min is positive-int (#4199)
This commit is contained in:
parent
2c1ff808bb
commit
b321b47822
@ -731,3 +731,8 @@ function strval ($var): string {}
|
||||
function str_getcsv(string $input, string $delimiter = ',', string $enclosure = '"', string $escape = '\\\\')
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ($min is positive-int ? positive-int : int)
|
||||
*/
|
||||
function random_int(int $min, int $max): int {}
|
||||
|
Loading…
Reference in New Issue
Block a user