Skip to content

Commit

Permalink
Add return type documentation for usort
Browse files Browse the repository at this point in the history
  • Loading branch information
cookieguru authored and isfedorov committed Jun 10, 2024
1 parent 2f40692 commit 01a8ecf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions standard/standard_8.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ function rsort(array &$array, int $flags = SORT_REGULAR) {}
* greater than zero if the first argument is considered to be
* respectively less than, equal to, or greater than the second.
* </p>
* @return true Always returns true.
*/
#[LanguageLevelTypeAware(['8.2' => 'true'], default: 'bool')]
function usort(array &$array, callable $callback) {}
Expand Down

0 comments on commit 01a8ecf

Please sign in to comment.