aboutsummaryrefslogtreecommitdiffstats
path: root/Source/Stream.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-10 10:18:43 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-10 10:18:43 +0100
commit38791b9d4eeb5e88b7cd0a28be074fa94f34af7b (patch)
treeceb64246bd3a37bf41d98a30a95c839a5ab719b3 /Source/Stream.php
parent0d3ee182be0210824057dc29b8656596b190f9b6 (diff)
downloadStream-38791b9d4eeb5e88b7cd0a28be074fa94f34af7b.zip
Stream-38791b9d4eeb5e88b7cd0a28be074fa94f34af7b.tar.gz
Stream-38791b9d4eeb5e88b7cd0a28be074fa94f34af7b.tar.bz2
chore(php) Fix a type error.
Diffstat (limited to 'Source/Stream.php')
-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);
}
/**