1
0
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:
Matthew Brown 2017-11-11 01:09:07 -05:00
parent b79ad3c64b
commit 4c79ec41fa

View File

@ -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) {}