mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
unpack() can return false on error (#5726)
* Unpack() can return false on error * unpack only returns false rarely supporess with @psalm-ignore-falsable-return Co-authored-by: Bruce Weirdan <weirdan@gmail.com> Co-authored-by: Bruce Weirdan <weirdan@gmail.com>
This commit is contained in:
parent
4b8bff45bd
commit
fe190c2eb7
@ -1163,7 +1163,8 @@ function uniqid(string $prefix = "", bool $more_entropy = false) : string {}
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
* @return array
|
||||
* @return array|false
|
||||
* @psalm-ignore-falsable-return
|
||||
*
|
||||
* @psalm-flow ($data) -> return
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user