diff --git a/src/Psalm/Internal/Stubs/CoreGenericFunctions.php b/src/Psalm/Internal/Stubs/CoreGenericFunctions.php index 8392ba828..e37157652 100644 --- a/src/Psalm/Internal/Stubs/CoreGenericFunctions.php +++ b/src/Psalm/Internal/Stubs/CoreGenericFunctions.php @@ -160,7 +160,7 @@ function array_search($needle, array $haystack, bool $strict = false) * @param array $arr * @param-out list $arr */ -function sort(array &$arr, callable $callback): bool +function sort(array &$arr): bool { }