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.8] Refactor DiscoverEvents::within() #28122

Merged
merged 1 commit into from Apr 8, 2019

Conversation

Projects
None yet
2 participants
@sebdesign
Copy link
Contributor

sebdesign commented Apr 5, 2019

The pairs of listeners and events can be mapped to groups of listeners keyed by the event name.

By using mapToDictionary we can void zipping the pairs and then unzipping them while reducing.

Refactor DiscoverEvents::within()
The pairs of listeners and events can be mapped to groups of listeners keyed by the event  name.

By using `mapToDictionary` we can void zipping the pairs and then unzipping them while reducing.

@GrahamCampbell GrahamCampbell changed the title Refactor DiscoverEvents::within() [5.8] Refactor DiscoverEvents::within() Apr 6, 2019

@taylorotwell taylorotwell merged commit 1bf41e9 into laravel:5.8 Apr 8, 2019

2 checks passed

continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.