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

Naming, immutable array manipulation #37

Merged
merged 1 commit into from
Aug 24, 2015
Merged

Naming, immutable array manipulation #37

merged 1 commit into from
Aug 24, 2015

Conversation

cboden
Copy link
Member

@cboden cboden commented Aug 23, 2015

No description provided.

@clue
Copy link
Member

clue commented Aug 23, 2015

👍

WyriHaximus added a commit that referenced this pull request Aug 24, 2015
Naming, immutable array manipulation
@WyriHaximus WyriHaximus merged commit 7d47a8e into master Aug 24, 2015
@WyriHaximus
Copy link
Member

👍 thanks!

@WyriHaximus WyriHaximus deleted the nitpicking branch August 24, 2015 09:46
@@ -99,12 +99,13 @@ public function parseHeaders($data)
parse_str($queryString, $parsedQuery);
}

$headers = $psrRequest->getHeaders();
array_walk($headers, function(&$val) {
$headers = array_map(function(&$val) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$val doesn't still need to be passed by reference here, does it?

@cboden
Copy link
Member Author

cboden commented Aug 24, 2015

Ooops. I copy/paste fail.

@WyriHaximus
Copy link
Member

Do you want to PR and fix it or want me to?

@cboden
Copy link
Member Author

cboden commented Aug 24, 2015

I'd say just go ahead and push the fix :)

@WyriHaximus
Copy link
Member

Done 👍

clue added a commit to clue-labs/http that referenced this pull request Aug 9, 2016
clue pushed a commit to clue-labs/http that referenced this pull request Aug 9, 2016
This is a sqashed version to add back the changes from reactphp#37:
- 2ab98d2
- 75ff84a
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.

None yet

4 participants