Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Update HttpMethodsClient.php #18

Merged
merged 1 commit into from
Oct 31, 2015
Merged

Conversation

Swader
Copy link
Contributor

@Swader Swader commented Oct 31, 2015

Altered order of arguments to match interfaces project-wide.

Altered order of arguments to match interfaces project-wide.
@sagikazarmark
Copy link
Member

Thanks @Swader

sagikazarmark added a commit that referenced this pull request Oct 31, 2015
Update HttpMethodsClient to reflect changes in the MessageFactory
@sagikazarmark sagikazarmark merged commit 2870503 into php-http:master Oct 31, 2015
$headers,
$body
$body,
'1.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

as this is not an argument to the HttpMethodsClient::send method, i would remove it and let the default happen. otherwise we duplicate default values. i guess it does not matter all that much but would seem cleaner...

Copy link
Member

Choose a reason for hiding this comment

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

Agree. 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

fixed in 67a45ea

dbu added a commit that referenced this pull request Nov 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants