Skip to content
Permalink
Browse files

Add support for sort param

  • Loading branch information
muglug committed Jan 2, 2020
1 parent 71cdaf6 commit 314db95ceec771a5f3b89bb81facd2ca32a22cf1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/Stubs/CoreGenericFunctions.php
@@ -160,7 +160,7 @@ function array_search($needle, array $haystack, bool $strict = false)
* @param array<mixed,T> $arr
* @param-out list<T> $arr
*/
function sort(array &$arr): bool
function sort(array &$arr, int $sort_flags = \SORT_REGULAR): bool
{
}

0 comments on commit 314db95

Please sign in to comment.
You can’t perform that action at this time.