Skip to content

Fixed incorrect assigning of custom $loop and $client #12

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
Mar 8, 2016
Merged

Fixed incorrect assigning of custom $loop and $client #12

merged 1 commit into from
Mar 8, 2016

Conversation

robinvdvleuten
Copy link

In the check (null !== $loop) ?: ReactFactory::buildEventLoop(), the $loop property is a boolean if you give a custom $loop instance through the constructor. The same for the $client instance. This is a fix for both.

@sagikazarmark
Copy link
Member

Thanks. Will merge it when the tests passes and release a patch version.

@robinvdvleuten
Copy link
Author

Cool! Thanks for the quick response

sagikazarmark added a commit that referenced this pull request Mar 8, 2016
Fixed incorrect assigning of custom $loop and $client
@sagikazarmark sagikazarmark merged commit 7fd01bf into php-http:master Mar 8, 2016
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