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

Add array_reverse stub

This commit is contained in:
Matt Brown 2017-03-13 16:50:25 -04:00
parent ae0ca9553f
commit 6f00d05271

View File

@ -95,3 +95,12 @@ function array_shift(array $arr) {}
* @return TValue
*/
function array_pop(array $arr) {}
/**
* @template TKey
* @template TValue
*
* @param array<TKey, TValue> $arr
* @return array<TKey, TValue>
*/
function array_reverse(array $arr) {}