Skip to content

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

Merged
WyriHaximus merged 1 commit intoreactphp:masterfrom
mmoreram:patch-1
Nov 20, 2019
Merged

Minor code style fix for stream_set_blocking() parameter type#218
WyriHaximus merged 1 commit intoreactphp:masterfrom
mmoreram:patch-1

Conversation

@mmoreram
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

This library is 8 years old? OMG.

@WyriHaximus
Copy link
Copy Markdown
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