Skip to content

Commit 6f8d462

Browse files
committed
Fix test expectation
1 parent d78b74c commit 6f8d462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/file/userstreams_004.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class test_wrapper extends test_wrapper_base {
1919
}
2020
function test($name, $fd, $mode) {
2121
echo "------ $name: -------\n";
22-
flock($fd, $mode);
22+
(void)flock($fd, $mode);
2323
$data = stream_get_meta_data($fd);
2424
var_dump($data['wrapper_data']->mode === $mode);
2525
}

0 commit comments

Comments
 (0)