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

Enforce object type for options params #13

Merged
merged 3 commits into from Mar 5, 2015
Merged

Enforce object type for options params #13

merged 3 commits into from Mar 5, 2015

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Mar 5, 2015

The package works with either an array or ArrayAccess object for the options param where specified. This PR updates doc blocks to specify this and tests that the param meets this criteria.

Also, HttpFactory::getAvailableDriver() required the options param to be injected, only to be injected into the transport it creates. As the transport options are optional, this should not be required here.

wilsonge added a commit that referenced this pull request Mar 5, 2015
Enforce object type for options params
@wilsonge wilsonge merged commit 63e98b2 into master Mar 5, 2015
@wilsonge wilsonge deleted the ArrayAccess branch March 5, 2015 11:45
@mbabker mbabker restored the ArrayAccess branch August 4, 2016 20:33
@mbabker mbabker deleted the ArrayAccess branch August 4, 2016 20:34
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

2 participants