Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Fixes input order issue #14381

Merged
merged 1 commit into from
Jul 20, 2016
Merged

[5.2] Fixes input order issue #14381

merged 1 commit into from
Jul 20, 2016

Conversation

amonger
Copy link
Contributor

@amonger amonger commented Jul 19, 2016

As the keys previously kept their order, median wouldn't return the correct value if the input was out of order.

@taylorotwell taylorotwell merged commit 6c553a7 into laravel:5.2 Jul 20, 2016
@taylorotwell
Copy link
Member

I know we just merged this but I can't decide if I want to keep these functions around. On further thought, the main goal of collections is to transform data using map / reduce options. I don't know how far down this road of statistical type operations I want to go because it's hard to draw a line in terms of where it stops. How many functions do we keep adding?

@GrahamCampbell GrahamCampbell changed the title Fixes input order issue [5.2] Fixes input order issue Jul 20, 2016
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