1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Add missing args to array_slice implementation

This commit is contained in:
Matthew Brown 2017-02-11 00:25:23 -05:00
parent dbddedb20b
commit c05d5926f9

View File

@ -29,7 +29,7 @@ function array_unique(array $arr) {}
* @param array<mixed, T> $arr
* @return array<int, T>
*/
function array_slice(array $arr) {}
function array_slice(array $arr, int $offset, int $length = null, bool $preserve_keys = false) {}
/**
* @template TKey