mirror of
https://github.com/danog/psalm.git
synced 2025-01-23 06:11:25 +01:00
Merge pull request #9842 from kkmuffme/uniqid-wrong-return-type
uniqid return type non-empty-string inconsistent
This commit is contained in:
commit
bebce06014
@ -1542,6 +1542,8 @@ function sapi_windows_cp_conv($in_codepage, $out_codepage, string $subject) : ?s
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
* @return non-empty-string
|
||||
*
|
||||
* @psalm-flow ($prefix) -> return
|
||||
*/
|
||||
function uniqid(string $prefix = "", bool $more_entropy = false) : string {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user