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