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:
parent
dbddedb20b
commit
c05d5926f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user