1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Update CoreGenericFunctions.phpstub

This commit is contained in:
Kamil Tekiela 2023-05-29 16:16:49 +01:00
parent fa3f4d252c
commit c2bbc6239a

View File

@ -1559,7 +1559,10 @@ function unpack(string $format, string $string, int $offset = 0) {}
/**
* @psalm-pure
*
* @template T of bool
* @param T $strict
* @return string|false
* @psalm-return (T is false ? string : string|false)
*
* @psalm-flow ($string) -> return
* @psalm-ignore-falsable-return