8000 Minor code style fix for stream_set_blocking() parameter type by mmoreram · Pull Request #218 · reactphp/socket · GitHub
[go: up one dir, main page]

Skip to content

Minor code style fix for stream_set_blocking() parameter type #218

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
Nov 20, 2019
Merged

Minor code style fix for stream_set_blocking() parameter type #218

merged 1 commit into from
Nov 20, 2019

Conversation

mmoreram
Copy link
Contributor

To be strict, the second parameter of this function is a bool instead of an int.

To be strict, the second parameter of this function is a `bool` instead of an `int`.
@WyriHaximus
Copy link
Member

Just look it up and that 0 has been there for 8+ years, essentially since the very beginnen of this package 😄

@mmoreram
Copy link
Contributor Author

This library is 8 years old? OMG.

@WyriHaximus
Copy link
Member

Github showed it as 8 years ago so could be 7.5 as well ;)

@clue clue changed the title Fix stream_set_blocking parameter type Minor code style fix for stream_set_blocking() parameter type Nov 20, 2019
@WyriHaximus WyriHaximus merged commit d3e7198 into reactphp:master Nov 20, 2019
@mmoreram mmoreram deleted the patch-1 branch November 21, 2019 08:26
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.

4 participants
0