aboutsummaryrefslogtreecommitdiffstats
path: root/Test/Unit/Stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Unit/Stream.php')
-rw-r--r--Test/Unit/Stream.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/Unit/Stream.php b/Test/Unit/Stream.php
index be9e7f7..627b5bf 100644
--- a/Test/Unit/Stream.php
+++ b/Test/Unit/Stream.php
@@ -511,14 +511,14 @@ class Stream extends Test\Unit\Suite
->given(
$stream = new SUT(__FILE__),
- $this->function->stream_set_blocking = function ($_stream, $_mode) use ($self, $stream, &$called) {
+ $this->function->stream_set_blocking = function ($_stream, bool $_mode) use ($self, $stream, &$called) {
$called = true;
$self
->resource($_stream)
->isIdenticalTo($stream->getStream())
- ->integer($_mode)
- ->isEqualTo(1);
+ ->boolean($_mode)
+ ->isTrue();
return true;
}