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

[7.x] Support Collection#countBy($key) #33852

merged 1 commit into from Aug 13, 2020


Copy link

@JosephSilber JosephSilber commented Aug 13, 2020

#33801 broke the usage of the collection's countBy method when passed a key as a string.

There was obviously no test for it.

This PR fixes it and adds the relevant test.

Closes #33847.

@taylorotwell taylorotwell merged commit 5682bdb into laravel:7.x Aug 13, 2020
10 checks passed
@JosephSilber JosephSilber deleted the fix/count-by branch Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

4 participants