aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Stream.php b/Source/Stream.php
index da686d1..0c0a01e 100644
--- a/Source/Stream.php
+++ b/Source/Stream.php
@@ -408,7 +408,7 @@ abstract class Stream implements IStream\Stream, Event\Listenable
*/
public function setStreamBlocking(bool $mode): bool
{
- return stream_set_blocking($this->getStream(), (int) $mode);
+ return stream_set_blocking($this->getStream(), $mode);
}
/**