1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix #120 - allow array_unique extra arg

This commit is contained in:
Matt Brown 2017-03-30 11:04:47 -04:00
parent fe54318432
commit 02726300dc

View File

@ -21,9 +21,10 @@ function array_values(array $arr) {}
* @template T
*
* @param array<mixed, T> $arr
* @param int $sort_flags
* @return array<int, T>
*/
function array_unique(array $arr) {}
function array_unique(array $arr, int $sort_flags = 0) {}
/**
* @template T