Skip to content

int argument for sortByDesc and Enumerable sort methods#59907

Merged
taylorotwell merged 1 commit intolaravel:13.xfrom
mosabbirrakib:add-int-param-to-sortbydesc
Apr 28, 2026
Merged

int argument for sortByDesc and Enumerable sort methods#59907
taylorotwell merged 1 commit intolaravel:13.xfrom
mosabbirrakib:add-int-param-to-sortbydesc

Conversation

@mosabbirrakib
Copy link
Copy Markdown
Contributor

Following #59894, the same \$callback annotation appears on Collection::sortByDesc(), Enumerable::sortBy() and Enumerable::sortByDesc() without int. Adding it to those three so the typing matches across the sort family.

@taylorotwell taylorotwell merged commit 4137af0 into laravel:13.x Apr 28, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants