8000 Merge pull request #218 from mmoreram/patch-1 · reactphp/socket@d3e7198 · GitHub
[go: up one dir, main page]

Skip to content

Commit d3e7198

Browse files
authored
Merge pull request #218 from mmoreram/patch-1
Minor code style fix for stream_set_blocking() parameter type
2 parents 420e02b + b5b661c commit d3e7198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TcpServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function __construct($uri, LoopInterface $loop, array $context = array())
163163
if (false === $this->master) {
164164
throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr, $errno);
165165
}
166-
\stream_set_blocking($this->master, 0);
166+
\stream_set_blocking($this->master, false);
167167

168168
$this->resume();
169169
}

0 commit comments

Comments
 (0)
0