Skip to content

Commit 01a8ecf

Browse files
cookieguruisfedorov
authored andcommitted
Add return type documentation for usort
1 parent 2f40692 commit 01a8ecf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

standard/standard_8.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,7 @@ function rsort(array &$array, int $flags = SORT_REGULAR) {}
506506
* greater than zero if the first argument is considered to be
507507
* respectively less than, equal to, or greater than the second.
508508
* </p>
509+
* @return true Always returns true.
509510
*/
510511
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')]
511512
function usort(array &$array, callable $callback) {}

0 commit comments

Comments
 (0)