Skip to content

some performance improvements #11

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

Merged
merged 1 commit into from
Feb 3, 2015

Conversation

drealecs
Copy link
Contributor

@drealecs drealecs commented Feb 3, 2015

remove unnecessary use of array_combine(array_keys($array), $array)

remove unnecessary use of array_combine(array_keys($array), $array)
@mnapoli
Copy link
Member

mnapoli commented Feb 3, 2015

👍 it was previously searching both in the keys and values but it makes more sense like this because at least now it matches the phpdoc (i.e. search the key for the given value).

mnapoli added a commit that referenced this pull request Feb 3, 2015
@mnapoli mnapoli merged commit 5fa55b5 into myclabs:master Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants