Skip to content

Commit

Permalink
Add array_udiff to arrayFunctions.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
akalineskou committed Jun 8, 2022
1 parent 0b5253d commit ca4a8d9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions stubs/arrayFunctions.stub
Expand Up @@ -48,3 +48,16 @@ function uksort(
array &$one,
callable $two
): bool {}

/**
* @template T of mixed
*
* @param array<T> $one
* @param array<T> $two
* @param callable(T, T): int<-1, 1> $three
*/
function array_udiff(
array $one,
array $two,
callable $three
): int {}

0 comments on commit ca4a8d9

Please sign in to comment.