mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix reset/end return types
This commit is contained in:
parent
b79ad3c64b
commit
4c79ec41fa
@ -113,7 +113,7 @@ function array_reverse(array $arr) {}
|
||||
* @template TValue
|
||||
*
|
||||
* @param array<TKey, TValue> $arr
|
||||
* @return ?TValue
|
||||
* @return TValue|false
|
||||
*/
|
||||
function reset(array &$arr) {}
|
||||
|
||||
@ -122,6 +122,6 @@ function reset(array &$arr) {}
|
||||
* @template TValue
|
||||
*
|
||||
* @param array<TKey, TValue> $arr
|
||||
* @return ?TValue
|
||||
* @return TValue|false
|
||||
*/
|
||||
function end(array &$arr) {}
|
||||
|
Loading…
Reference in New Issue
Block a user